rroonga 4.0.0-x64-mingw32 → 4.0.1-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/.yardopts +6 -0
 - data/doc/text/news.textile +26 -0
 - data/ext/groonga/rb-grn-column.c +42 -2
 - data/ext/groonga/rb-grn-index-column.c +57 -159
 - data/ext/groonga/rb-grn-object.c +7 -0
 - data/ext/groonga/rb-grn-table.c +19 -3
 - data/ext/groonga/rb-grn-utils.c +4 -1
 - data/ext/groonga/rb-grn-variable-size-column.c +405 -5
 - data/ext/groonga/rb-grn.h +18 -1
 - data/lib/1.9/groonga.so +0 -0
 - data/lib/2.0/groonga.so +0 -0
 - data/lib/2.1/groonga.so +0 -0
 - data/lib/groonga/dumper.rb +46 -22
 - data/lib/groonga/expression-builder.rb +2 -4
 - data/lib/groonga/schema.rb +16 -234
 - data/rroonga-build.rb +3 -3
 - data/rroonga.gemspec +1 -1
 - data/test/test-array.rb +6 -5
 - data/test/test-column.rb +0 -14
 - data/test/test-database.rb +6 -5
 - data/test/test-double-array-trie.rb +6 -5
 - data/test/test-expression.rb +2 -2
 - data/test/test-hash.rb +6 -5
 - data/test/test-index-column.rb +163 -33
 - data/test/test-patricia-trie.rb +6 -5
 - data/test/test-schema-dumper.rb +39 -7
 - data/test/test-table-dumper.rb +46 -1
 - data/test/test-table-select-weight.rb +12 -0
 - data/test/test-variable-size-column.rb +87 -3
 - data/vendor/local/bin/groonga-benchmark.exe +0 -0
 - data/vendor/local/bin/groonga.exe +0 -0
 - data/vendor/local/bin/libgroonga-0.dll +0 -0
 - data/vendor/local/bin/libmecab-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/mecab.exe +0 -0
 - data/vendor/local/include/groonga/groonga.h +6 -1
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/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/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/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/libgroonga.a +0 -0
 - data/vendor/local/lib/libgroonga.dll.a +0 -0
 - data/vendor/local/lib/libmecab.a +0 -0
 - data/vendor/local/lib/libmecab.dll.a +0 -0
 - data/vendor/local/lib/libmsgpack.a +0 -0
 - data/vendor/local/lib/libmsgpack.dll.a +0 -0
 - data/vendor/local/lib/libmsgpackc.a +0 -0
 - data/vendor/local/lib/libmsgpackc.dll.a +0 -0
 - data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
 - data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
 - data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/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 +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +41 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +25 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +333 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +1 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +37 -17
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +4 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +1 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +99 -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/truncate.txt +1 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +128 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +11 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/basic.css +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +11 -11
 - data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/index.html +68 -67
 - data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news.html +247 -200
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.html +69 -68
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +38 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +153 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +857 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +8 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +8 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +10 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +193 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +12 -12
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +8 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +12 -12
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +10 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +165 -13
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +25 -8
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -7
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +28 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +32 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +50 -50
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +32 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +34 -34
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +30 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +32 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +32 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +36 -36
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +22 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +62 -62
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +140 -140
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +24 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +31 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +22 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +18 -18
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +13 -13
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +9 -9
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +8 -8
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +12 -12
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/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 +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +41 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +25 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +333 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +1 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +37 -17
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +4 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +1 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +99 -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/truncate.txt +1 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +128 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +11 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +11 -11
 - data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/index.html +67 -66
 - data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news.html +262 -200
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -68
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +35 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +20 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +150 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +824 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +45 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +8 -7
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +174 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +167 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +23 -6
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +38 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +48 -48
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +32 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +44 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +19 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +60 -60
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +138 -138
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +28 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +19 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +15 -15
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +10 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +14 -14
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +12 -12
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
 - data/vendor/local/share/man/ja/man1/groonga.1 +526 -73
 - data/vendor/local/share/man/man1/groonga.1 +552 -80
 - metadata +148 -139
 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>8. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>8.11. grn_expr — Groonga v4.0.1 documentation</title>
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
                <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
         
     | 
| 
       13 
13 
     | 
    
         
             
                <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
         
     | 
| 
         @@ -15,7 +15,7 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                <script type="text/javascript">
         
     | 
| 
       16 
16 
     | 
    
         
             
                  var DOCUMENTATION_OPTIONS = {
         
     | 
| 
       17 
17 
     | 
    
         
             
                    URL_ROOT:    '../',
         
     | 
| 
       18 
     | 
    
         
            -
                    VERSION:     ' 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.1',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,10 +25,10 @@ 
     | 
|
| 
       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  
     | 
| 
       29 
     | 
    
         
            -
                <link rel="up" title="8.  
     | 
| 
       30 
     | 
    
         
            -
                <link rel="next" title="8. 
     | 
| 
       31 
     | 
    
         
            -
                <link rel="prev" title="8. 
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.1 documentation" href="../index.html" />
         
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="up" title="8. Reference manual" href="../reference.html" />
         
     | 
| 
      
 30 
     | 
    
         
            +
                <link rel="next" title="8.11.1. Query syntax" href="grn_expr/query_syntax.html" />
         
     | 
| 
      
 31 
     | 
    
         
            +
                <link rel="prev" title="8.10. 疑似カラム (pseudo_column)" href="pseudo_column.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
33 
     | 
    
         
             
              <body role="document">
         
     | 
| 
       34 
34 
     | 
    
         
             
            <div class="header">
         
     | 
| 
         @@ -55,13 +55,13 @@ 
     | 
|
| 
       55 
55 
     | 
    
         
             
                      <a href="../genindex.html" title="General Index"
         
     | 
| 
       56 
56 
     | 
    
         
             
                         accesskey="I">index</a></li>
         
     | 
| 
       57 
57 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       58 
     | 
    
         
            -
                      <a href="grn_expr/query_syntax.html" title="8. 
     | 
| 
      
 58 
     | 
    
         
            +
                      <a href="grn_expr/query_syntax.html" title="8.11.1. Query syntax"
         
     | 
| 
       59 
59 
     | 
    
         
             
                         accesskey="N">next</a> |</li>
         
     | 
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
     | 
    
         
            -
                      <a href="pseudo_column.html" title="8. 
     | 
| 
      
 61 
     | 
    
         
            +
                      <a href="pseudo_column.html" title="8.10. 疑似カラム (pseudo_column)"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga  
     | 
| 
       64 
     | 
    
         
            -
                      <li><a href="../reference.html" accesskey="U">8.  
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 64 
     | 
    
         
            +
                      <li><a href="../reference.html" accesskey="U">8. Reference manual</a> »</li> 
         
     | 
| 
       65 
65 
     | 
    
         
             
                  </ul>
         
     | 
| 
       66 
66 
     | 
    
         
             
                </div>  
         
     | 
| 
       67 
67 
     | 
    
         | 
| 
         @@ -71,7 +71,7 @@ 
     | 
|
| 
       71 
71 
     | 
    
         
             
                      <div class="body" role="main">
         
     | 
| 
       72 
72 
     | 
    
         | 
| 
       73 
73 
     | 
    
         
             
              <div class="section" id="grn-expr">
         
     | 
| 
       74 
     | 
    
         
            -
            <h1>8. 
     | 
| 
      
 74 
     | 
    
         
            +
            <h1>8.11. grn_expr<a class="headerlink" href="#grn-expr" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
       75 
75 
     | 
    
         
             
            <p>Grn_expr is an object that searches records with specified conditions
         
     | 
| 
       76 
76 
     | 
    
         
             
            and manipulates a database. It's pronounced as <tt class="docutils literal"><span class="pre">gurun</span> <span class="pre">expression</span></tt>.</p>
         
     | 
| 
       77 
77 
     | 
    
         
             
            <p>Conditions for searching records from a database can be represented by
         
     | 
| 
         @@ -111,12 +111,12 @@ of Groonga. Rroonga can create a grn_expr by Ruby's syntax instead of 
     | 
|
| 
       111 
111 
     | 
    
         
             
            parsing string.</p>
         
     | 
| 
       112 
112 
     | 
    
         
             
            <div class="toctree-wrapper compound">
         
     | 
| 
       113 
113 
     | 
    
         
             
            <ul>
         
     | 
| 
       114 
     | 
    
         
            -
            <li class="toctree-l1"><a class="reference internal" href="grn_expr/query_syntax.html">8. 
     | 
| 
       115 
     | 
    
         
            -
            <li class="toctree-l1"><a class="reference internal" href="grn_expr/script_syntax.html">8. 
     | 
| 
      
 114 
     | 
    
         
            +
            <li class="toctree-l1"><a class="reference internal" href="grn_expr/query_syntax.html">8.11.1. Query syntax</a></li>
         
     | 
| 
      
 115 
     | 
    
         
            +
            <li class="toctree-l1"><a class="reference internal" href="grn_expr/script_syntax.html">8.11.2. Script syntax</a></li>
         
     | 
| 
       116 
116 
     | 
    
         
             
            </ul>
         
     | 
| 
       117 
117 
     | 
    
         
             
            </div>
         
     | 
| 
       118 
118 
     | 
    
         
             
            <div class="section" id="see-also">
         
     | 
| 
       119 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 119 
     | 
    
         
            +
            <h2>8.11.3. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       120 
120 
     | 
    
         
             
            <blockquote>
         
     | 
| 
       121 
121 
     | 
    
         
             
            <div><ul class="simple">
         
     | 
| 
       122 
122 
     | 
    
         
             
            <li><a class="reference internal" href="api/grn_expr.html"><em>grn_expr</em></a>: grn_expr related APIs</li>
         
     | 
| 
         @@ -133,18 +133,18 @@ parsing string.</p> 
     | 
|
| 
       133 
133 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       134 
134 
     | 
    
         
             
              <h3><a href="../index.html">Table Of Contents</a></h3>
         
     | 
| 
       135 
135 
     | 
    
         
             
              <ul>
         
     | 
| 
       136 
     | 
    
         
            -
            <li><a class="reference internal" href="#">8. 
     | 
| 
       137 
     | 
    
         
            -
            <li><a class="reference internal" href="#see-also">8. 
     | 
| 
      
 136 
     | 
    
         
            +
            <li><a class="reference internal" href="#">8.11. grn_expr</a><ul>
         
     | 
| 
      
 137 
     | 
    
         
            +
            <li><a class="reference internal" href="#see-also">8.11.3. See also</a></li>
         
     | 
| 
       138 
138 
     | 
    
         
             
            </ul>
         
     | 
| 
       139 
139 
     | 
    
         
             
            </li>
         
     | 
| 
       140 
140 
     | 
    
         
             
            </ul>
         
     | 
| 
       141 
141 
     | 
    
         | 
| 
       142 
142 
     | 
    
         
             
              <h4>Previous topic</h4>
         
     | 
| 
       143 
143 
     | 
    
         
             
              <p class="topless"><a href="pseudo_column.html"
         
     | 
| 
       144 
     | 
    
         
            -
                                    title="previous chapter">8. 
     | 
| 
      
 144 
     | 
    
         
            +
                                    title="previous chapter">8.10. 疑似カラム (pseudo_column)</a></p>
         
     | 
| 
       145 
145 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       146 
146 
     | 
    
         
             
              <p class="topless"><a href="grn_expr/query_syntax.html"
         
     | 
| 
       147 
     | 
    
         
            -
                                    title="next chapter">8. 
     | 
| 
      
 147 
     | 
    
         
            +
                                    title="next chapter">8.11.1. Query syntax</a></p>
         
     | 
| 
       148 
148 
     | 
    
         
             
              <div role="note" aria-label="source link">
         
     | 
| 
       149 
149 
     | 
    
         
             
                <h3>This Page</h3>
         
     | 
| 
       150 
150 
     | 
    
         
             
                <ul class="this-page-menu">
         
     | 
| 
         @@ -176,13 +176,13 @@ parsing string.</p> 
     | 
|
| 
       176 
176 
     | 
    
         
             
                      <a href="../genindex.html" title="General Index"
         
     | 
| 
       177 
177 
     | 
    
         
             
                         >index</a></li>
         
     | 
| 
       178 
178 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       179 
     | 
    
         
            -
                      <a href="grn_expr/query_syntax.html" title="8. 
     | 
| 
      
 179 
     | 
    
         
            +
                      <a href="grn_expr/query_syntax.html" title="8.11.1. Query syntax"
         
     | 
| 
       180 
180 
     | 
    
         
             
                         >next</a> |</li>
         
     | 
| 
       181 
181 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       182 
     | 
    
         
            -
                      <a href="pseudo_column.html" title="8. 
     | 
| 
      
 182 
     | 
    
         
            +
                      <a href="pseudo_column.html" title="8.10. 疑似カラム (pseudo_column)"
         
     | 
| 
       183 
183 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       184 
     | 
    
         
            -
                    <li><a href="../index.html">Groonga  
     | 
| 
       185 
     | 
    
         
            -
                      <li><a href="../reference.html" >8.  
     | 
| 
      
 184 
     | 
    
         
            +
                    <li><a href="../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 185 
     | 
    
         
            +
                      <li><a href="../reference.html" >8. Reference manual</a> »</li> 
         
     | 
| 
       186 
186 
     | 
    
         
             
                  </ul>
         
     | 
| 
       187 
187 
     | 
    
         
             
                </div>
         
     | 
| 
       188 
188 
     | 
    
         
             
                <div class="footer" role="contentinfo">
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>8. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>8.11.1. Query syntax — Groonga v4.0.1 documentation</title>
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
         
     | 
| 
       13 
13 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
         
     | 
| 
         @@ -15,7 +15,7 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                <script type="text/javascript">
         
     | 
| 
       16 
16 
     | 
    
         
             
                  var DOCUMENTATION_OPTIONS = {
         
     | 
| 
       17 
17 
     | 
    
         
             
                    URL_ROOT:    '../../',
         
     | 
| 
       18 
     | 
    
         
            -
                    VERSION:     ' 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.1',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,10 +25,10 @@ 
     | 
|
| 
       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  
     | 
| 
       29 
     | 
    
         
            -
                <link rel="up" title="8. 
     | 
| 
       30 
     | 
    
         
            -
                <link rel="next" title="8. 
     | 
| 
       31 
     | 
    
         
            -
                <link rel="prev" title="8. 
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
         
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="up" title="8.11. grn_expr" href="../grn_expr.html" />
         
     | 
| 
      
 30 
     | 
    
         
            +
                <link rel="next" title="8.11.2. Script syntax" href="script_syntax.html" />
         
     | 
| 
      
 31 
     | 
    
         
            +
                <link rel="prev" title="8.11. grn_expr" href="../grn_expr.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
33 
     | 
    
         
             
              <body role="document">
         
     | 
| 
       34 
34 
     | 
    
         
             
            <div class="header">
         
     | 
| 
         @@ -55,14 +55,14 @@ 
     | 
|
| 
       55 
55 
     | 
    
         
             
                      <a href="../../genindex.html" title="General Index"
         
     | 
| 
       56 
56 
     | 
    
         
             
                         accesskey="I">index</a></li>
         
     | 
| 
       57 
57 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       58 
     | 
    
         
            -
                      <a href="script_syntax.html" title="8. 
     | 
| 
      
 58 
     | 
    
         
            +
                      <a href="script_syntax.html" title="8.11.2. Script syntax"
         
     | 
| 
       59 
59 
     | 
    
         
             
                         accesskey="N">next</a> |</li>
         
     | 
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
     | 
    
         
            -
                      <a href="../grn_expr.html" title="8. 
     | 
| 
      
 61 
     | 
    
         
            +
                      <a href="../grn_expr.html" title="8.11. grn_expr"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga  
     | 
| 
       64 
     | 
    
         
            -
                      <li><a href="../../reference.html" >8.  
     | 
| 
       65 
     | 
    
         
            -
                      <li><a href="../grn_expr.html" accesskey="U">8. 
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 64 
     | 
    
         
            +
                      <li><a href="../../reference.html" >8. Reference manual</a> »</li>
         
     | 
| 
      
 65 
     | 
    
         
            +
                      <li><a href="../grn_expr.html" accesskey="U">8.11. grn_expr</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
       68 
68 
     | 
    
         | 
| 
         @@ -72,7 +72,7 @@ 
     | 
|
| 
       72 
72 
     | 
    
         
             
                      <div class="body" role="main">
         
     | 
| 
       73 
73 
     | 
    
         | 
| 
       74 
74 
     | 
    
         
             
              <div class="section" id="query-syntax">
         
     | 
| 
       75 
     | 
    
         
            -
            <h1>8. 
     | 
| 
      
 75 
     | 
    
         
            +
            <h1>8.11.1. Query syntax<a class="headerlink" href="#query-syntax" title="Permalink to this headline">¶</a></h1>
         
     | 
| 
       76 
76 
     | 
    
         
             
            <p>Query syntax is a syntax to specify search condition for common Web
         
     | 
| 
       77 
77 
     | 
    
         
             
            search form. It is similar to the syntax of Google's search form. For
         
     | 
| 
       78 
78 
     | 
    
         
             
            example, <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></tt> means that groonga searches records that
         
     | 
| 
         @@ -89,7 +89,7 @@ options.</p> 
     | 
|
| 
       89 
89 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">combined</span> <span class="pre">expression</span></tt> or <tt class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></tt>. <tt class="docutils literal"><span class="pre">Assignment</span>
         
     | 
| 
       90 
90 
     | 
    
         
             
            <span class="pre">expression</span></tt> can assigns a column to a value.</p>
         
     | 
| 
       91 
91 
     | 
    
         
             
            <div class="section" id="sample-data">
         
     | 
| 
       92 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 92 
     | 
    
         
            +
            <h2>8.11.1.1. Sample data<a class="headerlink" href="#sample-data" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       93 
93 
     | 
    
         
             
            <p>Here are a schema definition and sample data to show usage.</p>
         
     | 
| 
       94 
94 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       95 
95 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>table_create Entries TABLE_PAT_KEY ShortText
         
     | 
| 
         @@ -135,7 +135,7 @@ using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tok 
     | 
|
| 
       135 
135 
     | 
    
         
             
            <p>OK. The schema and data for examples are ready.</p>
         
     | 
| 
       136 
136 
     | 
    
         
             
            </div>
         
     | 
| 
       137 
137 
     | 
    
         
             
            <div class="section" id="escape">
         
     | 
| 
       138 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 138 
     | 
    
         
            +
            <h2>8.11.1.2. Escape<a class="headerlink" href="#escape" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       139 
139 
     | 
    
         
             
            <p>There are special characters in query syntax. To use a special
         
     | 
| 
       140 
140 
     | 
    
         
             
            character as itself, it should be escaped by prepending <tt class="docutils literal"><span class="pre">\</span></tt>. For
         
     | 
| 
       141 
141 
     | 
    
         
             
            example, <tt class="docutils literal"><span class="pre">"</span></tt> is a special character. It is escaped as <tt class="docutils literal"><span class="pre">\"</span></tt>.</p>
         
     | 
| 
         @@ -169,10 +169,10 @@ special character is escaped properly.</p> 
     | 
|
| 
       169 
169 
     | 
    
         
             
            </div>
         
     | 
| 
       170 
170 
     | 
    
         
             
            </div>
         
     | 
| 
       171 
171 
     | 
    
         
             
            <div class="section" id="conditional-expression">
         
     | 
| 
       172 
     | 
    
         
            -
            <span id="id1"></span><h2>8. 
     | 
| 
      
 172 
     | 
    
         
            +
            <span id="id1"></span><h2>8.11.1.3. Conditional expression<a class="headerlink" href="#conditional-expression" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       173 
173 
     | 
    
         
             
            <p>Here is available conditional expression list.</p>
         
     | 
| 
       174 
174 
     | 
    
         
             
            <div class="section" id="full-text-search-condition">
         
     | 
| 
       175 
     | 
    
         
            -
            <span id="id2"></span><h3>8. 
     | 
| 
      
 175 
     | 
    
         
            +
            <span id="id2"></span><h3>8.11.1.3.1. Full text search condition<a class="headerlink" href="#full-text-search-condition" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       176 
176 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">keyword</span></tt>.</p>
         
     | 
| 
       177 
177 
     | 
    
         
             
            <p><tt class="docutils literal"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> specifies a full text search condition
         
     | 
| 
       178 
178 
     | 
    
         
             
            against the default match columns. Match columns are full text search
         
     | 
| 
         @@ -241,7 +241,7 @@ specifies a keyword that contains one or more spaces, you can use 
     | 
|
| 
       241 
241 
     | 
    
         
             
            <p><tt class="docutils literal"><span class="pre">content</span></tt> column is the default match column.</p>
         
     | 
| 
       242 
242 
     | 
    
         
             
            </div>
         
     | 
| 
       243 
243 
     | 
    
         
             
            <div class="section" id="phrase-search-condition">
         
     | 
| 
       244 
     | 
    
         
            -
            <span id="id3"></span><h3>8. 
     | 
| 
      
 244 
     | 
    
         
            +
            <span id="id3"></span><h3>8.11.1.3.2. Phrase search condition<a class="headerlink" href="#phrase-search-condition" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       245 
245 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">"search</span> <span class="pre">keyword"</span></tt>.</p>
         
     | 
| 
       246 
246 
     | 
    
         
             
            <p><tt class="docutils literal"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> specifies a phrase search condition
         
     | 
| 
       247 
247 
     | 
    
         
             
            against the default match columns.</p>
         
     | 
| 
         @@ -304,7 +304,7 @@ aren't matched.</p> 
     | 
|
| 
       304 
304 
     | 
    
         
             
            <p><tt class="docutils literal"><span class="pre">content</span></tt> column is the default match column.</p>
         
     | 
| 
       305 
305 
     | 
    
         
             
            </div>
         
     | 
| 
       306 
306 
     | 
    
         
             
            <div class="section" id="full-text-search-condition-with-explicit-match-column">
         
     | 
| 
       307 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 307 
     | 
    
         
            +
            <h3>8.11.1.3.3. Full text search condition (with explicit match column)<a class="headerlink" href="#full-text-search-condition-with-explicit-match-column" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       308 
308 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column:@keyword</span></tt>.</p>
         
     | 
| 
       309 
309 
     | 
    
         
             
            <p>It's similar to <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> but it doesn't require
         
     | 
| 
       310 
310 
     | 
    
         
             
            the default match columns. You need to specify match column for the
         
     | 
| 
         @@ -383,7 +383,7 @@ the following features:</p> 
     | 
|
| 
       383 
383 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
         
     | 
| 
       384 
384 
     | 
    
         
             
            </div>
         
     | 
| 
       385 
385 
     | 
    
         
             
            <div class="section" id="phrase-search-condition-with-explicit-match-column">
         
     | 
| 
       386 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 386 
     | 
    
         
            +
            <h3>8.11.1.3.4. Phrase search condition (with explicit match column)<a class="headerlink" href="#phrase-search-condition-with-explicit-match-column" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       387 
387 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column:@"search</span> <span class="pre">keyword"</span></tt>.</p>
         
     | 
| 
       388 
388 
     | 
    
         
             
            <p>It's similar to <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> but it doesn't require the
         
     | 
| 
       389 
389 
     | 
    
         
             
            default match columns. You need to specify match column for the phrase
         
     | 
| 
         @@ -444,7 +444,7 @@ advanced match columns but <tt class="docutils literal"><span class="pre">phrase 
     | 
|
| 
       444 
444 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">started</span></tt> aren't adjacent.</p>
         
     | 
| 
       445 
445 
     | 
    
         
             
            </div>
         
     | 
| 
       446 
446 
     | 
    
         
             
            <div class="section" id="prefix-search-condition">
         
     | 
| 
       447 
     | 
    
         
            -
            <span id="id4"></span><h3>8. 
     | 
| 
      
 447 
     | 
    
         
            +
            <span id="id4"></span><h3>8.11.1.3.5. Prefix search condition<a class="headerlink" href="#prefix-search-condition" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       448 
448 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column:^value</span></tt> or <tt class="docutils literal"><span class="pre">value*</span></tt>.</p>
         
     | 
| 
       449 
449 
     | 
    
         
             
            <p>This conditional expression does prefix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Prefix
         
     | 
| 
       450 
450 
     | 
    
         
             
            search searches records that contain a word that starts with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
         
     | 
| 
         @@ -513,7 +513,7 @@ time for large records.</p> 
     | 
|
| 
       513 
513 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></tt> are matched with the expression.</p>
         
     | 
| 
       514 
514 
     | 
    
         
             
            </div>
         
     | 
| 
       515 
515 
     | 
    
         
             
            <div class="section" id="suffix-search-condition">
         
     | 
| 
       516 
     | 
    
         
            -
            <span id="id5"></span><h3>8. 
     | 
| 
      
 516 
     | 
    
         
            +
            <span id="id5"></span><h3>8.11.1.3.6. Suffix search condition<a class="headerlink" href="#suffix-search-condition" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       517 
517 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column:$value</span></tt>.</p>
         
     | 
| 
       518 
518 
     | 
    
         
             
            <p>This conditional expression does suffix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Suffix
         
     | 
| 
       519 
519 
     | 
    
         
             
            search searches records that contain a word that ends with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
         
     | 
| 
         @@ -598,7 +598,7 @@ in <tt class="docutils literal"><span class="pre">content</span></tt> column val 
     | 
|
| 
       598 
598 
     | 
    
         
             
            with the expression.</p>
         
     | 
| 
       599 
599 
     | 
    
         
             
            </div>
         
     | 
| 
       600 
600 
     | 
    
         
             
            <div class="section" id="equal-condition">
         
     | 
| 
       601 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 601 
     | 
    
         
            +
            <h3>8.11.1.3.7. Equal condition<a class="headerlink" href="#equal-condition" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       602 
602 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column:value</span></tt>.</p>
         
     | 
| 
       603 
603 
     | 
    
         
             
            <p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is equal to <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
         
     | 
| 
       604 
604 
     | 
    
         
             
            <p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
         
     | 
| 
         @@ -650,7 +650,7 @@ with the expression.</p> 
     | 
|
| 
       650 
650 
     | 
    
         
             
            equal to <tt class="docutils literal"><span class="pre">Groonga</span></tt>.</p>
         
     | 
| 
       651 
651 
     | 
    
         
             
            </div>
         
     | 
| 
       652 
652 
     | 
    
         
             
            <div class="section" id="not-equal-condition">
         
     | 
| 
       653 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 653 
     | 
    
         
            +
            <h3>8.11.1.3.8. Not equal condition<a class="headerlink" href="#not-equal-condition" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       654 
654 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column:!value</span></tt>.</p>
         
     | 
| 
       655 
655 
     | 
    
         
             
            <p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value isn't equal to <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
         
     | 
| 
       656 
656 
     | 
    
         
             
            <p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
         
     | 
| 
         @@ -720,7 +720,7 @@ equal to <tt class="docutils literal"><span class="pre">Groonga</span></tt>.</p> 
     | 
|
| 
       720 
720 
     | 
    
         
             
            to <tt class="docutils literal"><span class="pre">Groonga</span></tt>.</p>
         
     | 
| 
       721 
721 
     | 
    
         
             
            </div>
         
     | 
| 
       722 
722 
     | 
    
         
             
            <div class="section" id="less-than-condition">
         
     | 
| 
       723 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 723 
     | 
    
         
            +
            <h3>8.11.1.3.9. Less than condition<a class="headerlink" href="#less-than-condition" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       724 
724 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column:<value</span></tt>.</p>
         
     | 
| 
       725 
725 
     | 
    
         
             
            <p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is less than <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
         
     | 
| 
       726 
726 
     | 
    
         
             
            <p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
         
     | 
| 
         @@ -788,7 +788,7 @@ compared as bit sequence.</p> 
     | 
|
| 
       788 
788 
     | 
    
         
             
            than <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
         
     | 
| 
       789 
789 
     | 
    
         
             
            </div>
         
     | 
| 
       790 
790 
     | 
    
         
             
            <div class="section" id="greater-than-condition">
         
     | 
| 
       791 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 791 
     | 
    
         
            +
            <h3>8.11.1.3.10. Greater than condition<a class="headerlink" href="#greater-than-condition" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       792 
792 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column:>value</span></tt>.</p>
         
     | 
| 
       793 
793 
     | 
    
         
             
            <p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is greater than <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
         
     | 
| 
       794 
794 
     | 
    
         
             
            <p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
         
     | 
| 
         @@ -844,7 +844,7 @@ compared as bit sequence.</p> 
     | 
|
| 
       844 
844 
     | 
    
         
             
            than <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
         
     | 
| 
       845 
845 
     | 
    
         
             
            </div>
         
     | 
| 
       846 
846 
     | 
    
         
             
            <div class="section" id="less-than-or-equal-to-condition">
         
     | 
| 
       847 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 847 
     | 
    
         
            +
            <h3>8.11.1.3.11. Less than or equal to condition<a class="headerlink" href="#less-than-or-equal-to-condition" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       848 
848 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column:<=value</span></tt>.</p>
         
     | 
| 
       849 
849 
     | 
    
         
             
            <p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is less than or equal to
         
     | 
| 
       850 
850 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
         
     | 
| 
         @@ -919,7 +919,7 @@ compared as bit sequence.</p> 
     | 
|
| 
       919 
919 
     | 
    
         
             
            than or equal to <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
         
     | 
| 
       920 
920 
     | 
    
         
             
            </div>
         
     | 
| 
       921 
921 
     | 
    
         
             
            <div class="section" id="greater-than-or-equal-to-condition">
         
     | 
| 
       922 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 922 
     | 
    
         
            +
            <h3>8.11.1.3.12. Greater than or equal to condition<a class="headerlink" href="#greater-than-or-equal-to-condition" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       923 
923 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column:>=value</span></tt>.</p>
         
     | 
| 
       924 
924 
     | 
    
         
             
            <p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is greater than or equal to
         
     | 
| 
       925 
925 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
         
     | 
| 
         @@ -983,10 +983,10 @@ greater than or equal to <tt class="docutils literal"><span class="pre">10</span 
     | 
|
| 
       983 
983 
     | 
    
         
             
            </div>
         
     | 
| 
       984 
984 
     | 
    
         
             
            </div>
         
     | 
| 
       985 
985 
     | 
    
         
             
            <div class="section" id="combined-expression">
         
     | 
| 
       986 
     | 
    
         
            -
            <span id="id6"></span><h2>8. 
     | 
| 
      
 986 
     | 
    
         
            +
            <span id="id6"></span><h2>8.11.1.4. Combined expression<a class="headerlink" href="#combined-expression" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       987 
987 
     | 
    
         
             
            <p>Here is available combined expression list.</p>
         
     | 
| 
       988 
988 
     | 
    
         
             
            <div class="section" id="logical-or">
         
     | 
| 
       989 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 989 
     | 
    
         
            +
            <h3>8.11.1.4.1. Logical OR<a class="headerlink" href="#logical-or" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       990 
990 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></tt>.</p>
         
     | 
| 
       991 
991 
     | 
    
         
             
            <p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
         
     | 
| 
       992 
992 
     | 
    
         
             
            assignment expressions.</p>
         
     | 
| 
         @@ -1045,7 +1045,7 @@ greater than <tt class="docutils literal"><span class="pre">10</span></tt> or co 
     | 
|
| 
       1045 
1045 
     | 
    
         
             
            value.</p>
         
     | 
| 
       1046 
1046 
     | 
    
         
             
            </div>
         
     | 
| 
       1047 
1047 
     | 
    
         
             
            <div class="section" id="logical-and">
         
     | 
| 
       1048 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1048 
     | 
    
         
            +
            <h3>8.11.1.4.2. Logical AND<a class="headerlink" href="#logical-and" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1049 
1049 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></tt> or just <tt class="docutils literal"><span class="pre">a</span> <span class="pre">b</span></tt>.</p>
         
     | 
| 
       1050 
1050 
     | 
    
         
             
            <p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
         
     | 
| 
       1051 
1051 
     | 
    
         
             
            assignment expressions.</p>
         
     | 
| 
         @@ -1100,7 +1100,7 @@ greater than or equal to <tt class="docutils literal"><span class="pre">10</span 
     | 
|
| 
       1100 
1100 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
         
     | 
| 
       1101 
1101 
     | 
    
         
             
            </div>
         
     | 
| 
       1102 
1102 
     | 
    
         
             
            <div class="section" id="logical-not">
         
     | 
| 
       1103 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1103 
     | 
    
         
            +
            <h3>8.11.1.4.3. Logical NOT<a class="headerlink" href="#logical-not" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1104 
1104 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></tt>.</p>
         
     | 
| 
       1105 
1105 
     | 
    
         
             
            <p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
         
     | 
| 
       1106 
1106 
     | 
    
         
             
            assignment expressions.</p>
         
     | 
| 
         @@ -1155,7 +1155,7 @@ greater than or equal to <tt class="docutils literal"><span class="pre">10</span 
     | 
|
| 
       1155 
1155 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
         
     | 
| 
       1156 
1156 
     | 
    
         
             
            </div>
         
     | 
| 
       1157 
1157 
     | 
    
         
             
            <div class="section" id="grouping">
         
     | 
| 
       1158 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1158 
     | 
    
         
            +
            <h3>8.11.1.4.4. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1159 
1159 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">(...)</span></tt>. <tt class="docutils literal"><span class="pre">...</span></tt> is space separated expression list.</p>
         
     | 
| 
       1160 
1160 
     | 
    
         
             
            <p><tt class="docutils literal"><span class="pre">(...)</span></tt> groups one ore more expressions and they can be
         
     | 
| 
       1161 
1161 
     | 
    
         
             
            processed as an expression. <tt class="docutils literal"><span class="pre">a</span> <span class="pre">b</span> <span class="pre">OR</span> <span class="pre">c</span></tt> means that <tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt>
         
     | 
| 
         @@ -1264,7 +1264,7 @@ are matched.</p> 
     | 
|
| 
       1264 
1264 
     | 
    
         
             
            </div>
         
     | 
| 
       1265 
1265 
     | 
    
         
             
            </div>
         
     | 
| 
       1266 
1266 
     | 
    
         
             
            <div class="section" id="assignment-expression">
         
     | 
| 
       1267 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 1267 
     | 
    
         
            +
            <h2>8.11.1.5. Assignment expression<a class="headerlink" href="#assignment-expression" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       1268 
1268 
     | 
    
         
             
            <p>This section is for advanced users. Because assignment expression is
         
     | 
| 
       1269 
1269 
     | 
    
         
             
            disabled in <tt class="docutils literal"><span class="pre">--query</span></tt> option of <a class="reference internal" href="../commands/select.html"><em>select</em></a> by
         
     | 
| 
       1270 
1270 
     | 
    
         
             
            default. You need to specify <tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt> as
         
     | 
| 
         @@ -1291,42 +1291,42 @@ doesn't support <tt class="docutils literal"><span class="pre">column:=</span></ 
     | 
|
| 
       1291 
1291 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       1292 
1292 
     | 
    
         
             
              <h3><a href="../../index.html">Table Of Contents</a></h3>
         
     | 
| 
       1293 
1293 
     | 
    
         
             
              <ul>
         
     | 
| 
       1294 
     | 
    
         
            -
            <li><a class="reference internal" href="#">8. 
     | 
| 
       1295 
     | 
    
         
            -
            <li><a class="reference internal" href="#sample-data">8. 
     | 
| 
       1296 
     | 
    
         
            -
            <li><a class="reference internal" href="#escape">8. 
     | 
| 
       1297 
     | 
    
         
            -
            <li><a class="reference internal" href="#conditional-expression">8. 
     | 
| 
       1298 
     | 
    
         
            -
            <li><a class="reference internal" href="#full-text-search-condition">8. 
     | 
| 
       1299 
     | 
    
         
            -
            <li><a class="reference internal" href="#phrase-search-condition">8. 
     | 
| 
       1300 
     | 
    
         
            -
            <li><a class="reference internal" href="#full-text-search-condition-with-explicit-match-column">8. 
     | 
| 
       1301 
     | 
    
         
            -
            <li><a class="reference internal" href="#phrase-search-condition-with-explicit-match-column">8. 
     | 
| 
       1302 
     | 
    
         
            -
            <li><a class="reference internal" href="#prefix-search-condition">8. 
     | 
| 
       1303 
     | 
    
         
            -
            <li><a class="reference internal" href="#suffix-search-condition">8. 
     | 
| 
       1304 
     | 
    
         
            -
            <li><a class="reference internal" href="#equal-condition">8. 
     | 
| 
       1305 
     | 
    
         
            -
            <li><a class="reference internal" href="#not-equal-condition">8. 
     | 
| 
       1306 
     | 
    
         
            -
            <li><a class="reference internal" href="#less-than-condition">8. 
     | 
| 
       1307 
     | 
    
         
            -
            <li><a class="reference internal" href="#greater-than-condition">8. 
     | 
| 
       1308 
     | 
    
         
            -
            <li><a class="reference internal" href="#less-than-or-equal-to-condition">8. 
     | 
| 
       1309 
     | 
    
         
            -
            <li><a class="reference internal" href="#greater-than-or-equal-to-condition">8. 
     | 
| 
      
 1294 
     | 
    
         
            +
            <li><a class="reference internal" href="#">8.11.1. Query syntax</a><ul>
         
     | 
| 
      
 1295 
     | 
    
         
            +
            <li><a class="reference internal" href="#sample-data">8.11.1.1. Sample data</a></li>
         
     | 
| 
      
 1296 
     | 
    
         
            +
            <li><a class="reference internal" href="#escape">8.11.1.2. Escape</a></li>
         
     | 
| 
      
 1297 
     | 
    
         
            +
            <li><a class="reference internal" href="#conditional-expression">8.11.1.3. Conditional expression</a><ul>
         
     | 
| 
      
 1298 
     | 
    
         
            +
            <li><a class="reference internal" href="#full-text-search-condition">8.11.1.3.1. Full text search condition</a></li>
         
     | 
| 
      
 1299 
     | 
    
         
            +
            <li><a class="reference internal" href="#phrase-search-condition">8.11.1.3.2. Phrase search condition</a></li>
         
     | 
| 
      
 1300 
     | 
    
         
            +
            <li><a class="reference internal" href="#full-text-search-condition-with-explicit-match-column">8.11.1.3.3. Full text search condition (with explicit match column)</a></li>
         
     | 
| 
      
 1301 
     | 
    
         
            +
            <li><a class="reference internal" href="#phrase-search-condition-with-explicit-match-column">8.11.1.3.4. Phrase search condition (with explicit match column)</a></li>
         
     | 
| 
      
 1302 
     | 
    
         
            +
            <li><a class="reference internal" href="#prefix-search-condition">8.11.1.3.5. Prefix search condition</a></li>
         
     | 
| 
      
 1303 
     | 
    
         
            +
            <li><a class="reference internal" href="#suffix-search-condition">8.11.1.3.6. Suffix search condition</a></li>
         
     | 
| 
      
 1304 
     | 
    
         
            +
            <li><a class="reference internal" href="#equal-condition">8.11.1.3.7. Equal condition</a></li>
         
     | 
| 
      
 1305 
     | 
    
         
            +
            <li><a class="reference internal" href="#not-equal-condition">8.11.1.3.8. Not equal condition</a></li>
         
     | 
| 
      
 1306 
     | 
    
         
            +
            <li><a class="reference internal" href="#less-than-condition">8.11.1.3.9. Less than condition</a></li>
         
     | 
| 
      
 1307 
     | 
    
         
            +
            <li><a class="reference internal" href="#greater-than-condition">8.11.1.3.10. Greater than condition</a></li>
         
     | 
| 
      
 1308 
     | 
    
         
            +
            <li><a class="reference internal" href="#less-than-or-equal-to-condition">8.11.1.3.11. Less than or equal to condition</a></li>
         
     | 
| 
      
 1309 
     | 
    
         
            +
            <li><a class="reference internal" href="#greater-than-or-equal-to-condition">8.11.1.3.12. Greater than or equal to condition</a></li>
         
     | 
| 
       1310 
1310 
     | 
    
         
             
            </ul>
         
     | 
| 
       1311 
1311 
     | 
    
         
             
            </li>
         
     | 
| 
       1312 
     | 
    
         
            -
            <li><a class="reference internal" href="#combined-expression">8. 
     | 
| 
       1313 
     | 
    
         
            -
            <li><a class="reference internal" href="#logical-or">8. 
     | 
| 
       1314 
     | 
    
         
            -
            <li><a class="reference internal" href="#logical-and">8. 
     | 
| 
       1315 
     | 
    
         
            -
            <li><a class="reference internal" href="#logical-not">8. 
     | 
| 
       1316 
     | 
    
         
            -
            <li><a class="reference internal" href="#grouping">8. 
     | 
| 
      
 1312 
     | 
    
         
            +
            <li><a class="reference internal" href="#combined-expression">8.11.1.4. Combined expression</a><ul>
         
     | 
| 
      
 1313 
     | 
    
         
            +
            <li><a class="reference internal" href="#logical-or">8.11.1.4.1. Logical OR</a></li>
         
     | 
| 
      
 1314 
     | 
    
         
            +
            <li><a class="reference internal" href="#logical-and">8.11.1.4.2. Logical AND</a></li>
         
     | 
| 
      
 1315 
     | 
    
         
            +
            <li><a class="reference internal" href="#logical-not">8.11.1.4.3. Logical NOT</a></li>
         
     | 
| 
      
 1316 
     | 
    
         
            +
            <li><a class="reference internal" href="#grouping">8.11.1.4.4. Grouping</a></li>
         
     | 
| 
       1317 
1317 
     | 
    
         
             
            </ul>
         
     | 
| 
       1318 
1318 
     | 
    
         
             
            </li>
         
     | 
| 
       1319 
     | 
    
         
            -
            <li><a class="reference internal" href="#assignment-expression">8. 
     | 
| 
      
 1319 
     | 
    
         
            +
            <li><a class="reference internal" href="#assignment-expression">8.11.1.5. Assignment expression</a></li>
         
     | 
| 
       1320 
1320 
     | 
    
         
             
            </ul>
         
     | 
| 
       1321 
1321 
     | 
    
         
             
            </li>
         
     | 
| 
       1322 
1322 
     | 
    
         
             
            </ul>
         
     | 
| 
       1323 
1323 
     | 
    
         | 
| 
       1324 
1324 
     | 
    
         
             
              <h4>Previous topic</h4>
         
     | 
| 
       1325 
1325 
     | 
    
         
             
              <p class="topless"><a href="../grn_expr.html"
         
     | 
| 
       1326 
     | 
    
         
            -
                                    title="previous chapter">8. 
     | 
| 
      
 1326 
     | 
    
         
            +
                                    title="previous chapter">8.11. grn_expr</a></p>
         
     | 
| 
       1327 
1327 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       1328 
1328 
     | 
    
         
             
              <p class="topless"><a href="script_syntax.html"
         
     | 
| 
       1329 
     | 
    
         
            -
                                    title="next chapter">8. 
     | 
| 
      
 1329 
     | 
    
         
            +
                                    title="next chapter">8.11.2. Script syntax</a></p>
         
     | 
| 
       1330 
1330 
     | 
    
         
             
              <div role="note" aria-label="source link">
         
     | 
| 
       1331 
1331 
     | 
    
         
             
                <h3>This Page</h3>
         
     | 
| 
       1332 
1332 
     | 
    
         
             
                <ul class="this-page-menu">
         
     | 
| 
         @@ -1358,14 +1358,14 @@ doesn't support <tt class="docutils literal"><span class="pre">column:=</span></ 
     | 
|
| 
       1358 
1358 
     | 
    
         
             
                      <a href="../../genindex.html" title="General Index"
         
     | 
| 
       1359 
1359 
     | 
    
         
             
                         >index</a></li>
         
     | 
| 
       1360 
1360 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       1361 
     | 
    
         
            -
                      <a href="script_syntax.html" title="8. 
     | 
| 
      
 1361 
     | 
    
         
            +
                      <a href="script_syntax.html" title="8.11.2. Script syntax"
         
     | 
| 
       1362 
1362 
     | 
    
         
             
                         >next</a> |</li>
         
     | 
| 
       1363 
1363 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       1364 
     | 
    
         
            -
                      <a href="../grn_expr.html" title="8. 
     | 
| 
      
 1364 
     | 
    
         
            +
                      <a href="../grn_expr.html" title="8.11. grn_expr"
         
     | 
| 
       1365 
1365 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       1366 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga  
     | 
| 
       1367 
     | 
    
         
            -
                      <li><a href="../../reference.html" >8.  
     | 
| 
       1368 
     | 
    
         
            -
                      <li><a href="../grn_expr.html" >8. 
     | 
| 
      
 1366 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 1367 
     | 
    
         
            +
                      <li><a href="../../reference.html" >8. Reference manual</a> »</li>
         
     | 
| 
      
 1368 
     | 
    
         
            +
                      <li><a href="../grn_expr.html" >8.11. grn_expr</a> »</li> 
         
     | 
| 
       1369 
1369 
     | 
    
         
             
                  </ul>
         
     | 
| 
       1370 
1370 
     | 
    
         
             
                </div>
         
     | 
| 
       1371 
1371 
     | 
    
         
             
                <div class="footer" role="contentinfo">
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
              <head>
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <title>8. 
     | 
| 
      
 10 
     | 
    
         
            +
                <title>8.11.2. Script syntax — Groonga v4.0.1 documentation</title>
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
         
     | 
| 
       13 
13 
     | 
    
         
             
                <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
         
     | 
| 
         @@ -15,7 +15,7 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
                <script type="text/javascript">
         
     | 
| 
       16 
16 
     | 
    
         
             
                  var DOCUMENTATION_OPTIONS = {
         
     | 
| 
       17 
17 
     | 
    
         
             
                    URL_ROOT:    '../../',
         
     | 
| 
       18 
     | 
    
         
            -
                    VERSION:     ' 
     | 
| 
      
 18 
     | 
    
         
            +
                    VERSION:     '4.0.1',
         
     | 
| 
       19 
19 
     | 
    
         
             
                    COLLAPSE_INDEX: false,
         
     | 
| 
       20 
20 
     | 
    
         
             
                    FILE_SUFFIX: '.html',
         
     | 
| 
       21 
21 
     | 
    
         
             
                    HAS_SOURCE:  true
         
     | 
| 
         @@ -25,10 +25,10 @@ 
     | 
|
| 
       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  
     | 
| 
       29 
     | 
    
         
            -
                <link rel="up" title="8. 
     | 
| 
       30 
     | 
    
         
            -
                <link rel="next" title="8. 
     | 
| 
       31 
     | 
    
         
            -
                <link rel="prev" title="8. 
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
         
     | 
| 
      
 29 
     | 
    
         
            +
                <link rel="up" title="8.11. grn_expr" href="../grn_expr.html" />
         
     | 
| 
      
 30 
     | 
    
         
            +
                <link rel="next" title="8.12. Function" href="../function.html" />
         
     | 
| 
      
 31 
     | 
    
         
            +
                <link rel="prev" title="8.11.1. Query syntax" href="query_syntax.html" /> 
         
     | 
| 
       32 
32 
     | 
    
         
             
              </head>
         
     | 
| 
       33 
33 
     | 
    
         
             
              <body role="document">
         
     | 
| 
       34 
34 
     | 
    
         
             
            <div class="header">
         
     | 
| 
         @@ -55,14 +55,14 @@ 
     | 
|
| 
       55 
55 
     | 
    
         
             
                      <a href="../../genindex.html" title="General Index"
         
     | 
| 
       56 
56 
     | 
    
         
             
                         accesskey="I">index</a></li>
         
     | 
| 
       57 
57 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       58 
     | 
    
         
            -
                      <a href="../function.html" title="8. 
     | 
| 
      
 58 
     | 
    
         
            +
                      <a href="../function.html" title="8.12. Function"
         
     | 
| 
       59 
59 
     | 
    
         
             
                         accesskey="N">next</a> |</li>
         
     | 
| 
       60 
60 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       61 
     | 
    
         
            -
                      <a href="query_syntax.html" title="8. 
     | 
| 
      
 61 
     | 
    
         
            +
                      <a href="query_syntax.html" title="8.11.1. Query syntax"
         
     | 
| 
       62 
62 
     | 
    
         
             
                         accesskey="P">previous</a> |</li>
         
     | 
| 
       63 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga  
     | 
| 
       64 
     | 
    
         
            -
                      <li><a href="../../reference.html" >8.  
     | 
| 
       65 
     | 
    
         
            -
                      <li><a href="../grn_expr.html" accesskey="U">8. 
     | 
| 
      
 63 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 64 
     | 
    
         
            +
                      <li><a href="../../reference.html" >8. Reference manual</a> »</li>
         
     | 
| 
      
 65 
     | 
    
         
            +
                      <li><a href="../grn_expr.html" accesskey="U">8.11. grn_expr</a> »</li> 
         
     | 
| 
       66 
66 
     | 
    
         
             
                  </ul>
         
     | 
| 
       67 
67 
     | 
    
         
             
                </div>  
         
     | 
| 
       68 
68 
     | 
    
         | 
| 
         @@ -72,7 +72,7 @@ 
     | 
|
| 
       72 
72 
     | 
    
         
             
                      <div class="body" role="main">
         
     | 
| 
       73 
73 
     | 
    
         | 
| 
       74 
74 
     | 
    
         
             
              <div class="section" id="script-syntax">
         
     | 
| 
       75 
     | 
    
         
            -
            <h1>8. 
     | 
| 
      
 75 
     | 
    
         
            +
            <h1>8.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 
77 
     | 
    
         
             
            similar to ECMAScript. For example, <tt class="docutils literal"><span class="pre">_key</span> <span class="pre">==</span> <span class="pre">"book"</span></tt> means that
         
     | 
| 
       78 
78 
     | 
    
         
             
            groonga searches records that <tt class="docutils literal"><span class="pre">_key</span></tt> value is <tt class="docutils literal"><span class="pre">"book"</span></tt>. All values
         
     | 
| 
         @@ -86,7 +86,7 @@ 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>
         
     | 
| 
       88 
88 
     | 
    
         
             
            <div class="section" id="sample-data">
         
     | 
| 
       89 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 89 
     | 
    
         
            +
            <h2>8.11.2.1. Sample data<a class="headerlink" href="#sample-data" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       90 
90 
     | 
    
         
             
            <p>Here are a schema definition and sample data to show usage.</p>
         
     | 
| 
       91 
91 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
       92 
92 
     | 
    
         
             
            <div class="highlight-none"><div class="highlight"><pre>table_create Entries TABLE_PAT_KEY ShortText
         
     | 
| 
         @@ -132,9 +132,9 @@ using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tok 
     | 
|
| 
       132 
132 
     | 
    
         
             
            <p>OK. The schema and data for examples are ready.</p>
         
     | 
| 
       133 
133 
     | 
    
         
             
            </div>
         
     | 
| 
       134 
134 
     | 
    
         
             
            <div class="section" id="literals">
         
     | 
| 
       135 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 135 
     | 
    
         
            +
            <h2>8.11.2.2. Literals<a class="headerlink" href="#literals" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       136 
136 
     | 
    
         
             
            <div class="section" id="integer">
         
     | 
| 
       137 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 137 
     | 
    
         
            +
            <h3>8.11.2.2.1. Integer<a class="headerlink" href="#integer" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       138 
138 
     | 
    
         
             
            <p>Integer literal is sequence of <tt class="docutils literal"><span class="pre">0</span></tt> to <tt class="docutils literal"><span class="pre">9</span></tt> such as
         
     | 
| 
       139 
139 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">1234567890</span></tt>. <tt class="docutils literal"><span class="pre">+</span></tt> or <tt class="docutils literal"><span class="pre">-</span></tt> can be prepended as sign such as
         
     | 
| 
       140 
140 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">+29</span></tt> and <tt class="docutils literal"><span class="pre">-29</span></tt>. Integer literal must be decimal. Octal notation,
         
     | 
| 
         @@ -144,7 +144,7 @@ hex and so on can't be used.</p> 
     | 
|
| 
       144 
144 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">-9223372036854775808</span></tt> (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">-(2</span> <span class="pre">**</span> <span class="pre">63)</span></tt>).</p>
         
     | 
| 
       145 
145 
     | 
    
         
             
            </div>
         
     | 
| 
       146 
146 
     | 
    
         
             
            <div class="section" id="float">
         
     | 
| 
       147 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 147 
     | 
    
         
            +
            <h3>8.11.2.2.2. Float<a class="headerlink" href="#float" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       148 
148 
     | 
    
         
             
            <p>Float literal is sequence of <tt class="docutils literal"><span class="pre">0</span></tt> to <tt class="docutils literal"><span class="pre">9</span></tt>, <tt class="docutils literal"><span class="pre">.</span></tt> and <tt class="docutils literal"><span class="pre">0</span></tt> to <tt class="docutils literal"><span class="pre">9</span></tt>
         
     | 
| 
       149 
149 
     | 
    
         
             
            such as <tt class="docutils literal"><span class="pre">3.14</span></tt>. <tt class="docutils literal"><span class="pre">+</span></tt> or <tt class="docutils literal"><span class="pre">-</span></tt> can be prepended as sign such as
         
     | 
| 
       150 
150 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">+3.14</span></tt> and <tt class="docutils literal"><span class="pre">-3.14</span></tt>. <tt class="docutils literal"><span class="pre">${RADIX}e${EXPORNENTIAL}</span></tt> and
         
     | 
| 
         @@ -152,7 +152,7 @@ such as <tt class="docutils literal"><span class="pre">3.14</span></tt>. <tt cla 
     | 
|
| 
       152 
152 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">314e-2</span></tt> is the same as <tt class="docutils literal"><span class="pre">3.14</span></tt>.</p>
         
     | 
| 
       153 
153 
     | 
    
         
             
            </div>
         
     | 
| 
       154 
154 
     | 
    
         
             
            <div class="section" id="string">
         
     | 
| 
       155 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 155 
     | 
    
         
            +
            <h3>8.11.2.2.3. String<a class="headerlink" href="#string" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       156 
156 
     | 
    
         
             
            <p>String literal is <tt class="docutils literal"><span class="pre">"..."</span></tt>. You need to escape <tt class="docutils literal"><span class="pre">"</span></tt> in literal by
         
     | 
| 
       157 
157 
     | 
    
         
             
            prepending <tt class="docutils literal"><span class="pre">\\''</span> <span class="pre">such</span> <span class="pre">as</span> <span class="pre">``\"</span></tt>. For example, <tt class="docutils literal"><span class="pre">"Say</span> <span class="pre">\"Hello!\"."</span></tt> is
         
     | 
| 
       158 
158 
     | 
    
         
             
            a literal for <tt class="docutils literal"><span class="pre">Say</span> <span class="pre">"Hello!".</span></tt> string.</p>
         
     | 
| 
         @@ -162,17 +162,17 @@ configure option, <tt class="docutils literal"><span class="pre">--encodiong</sp 
     | 
|
| 
       162 
162 
     | 
    
         
             
            and so on.</p>
         
     | 
| 
       163 
163 
     | 
    
         
             
            </div>
         
     | 
| 
       164 
164 
     | 
    
         
             
            <div class="section" id="boolean">
         
     | 
| 
       165 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 165 
     | 
    
         
            +
            <h3>8.11.2.2.4. Boolean<a class="headerlink" href="#boolean" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       166 
166 
     | 
    
         
             
            <p>Boolean literal is <tt class="docutils literal"><span class="pre">true</span></tt> and <tt class="docutils literal"><span class="pre">false</span></tt>. <tt class="docutils literal"><span class="pre">true</span></tt> means true and
         
     | 
| 
       167 
167 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">false</span></tt> means false.</p>
         
     | 
| 
       168 
168 
     | 
    
         
             
            </div>
         
     | 
| 
       169 
169 
     | 
    
         
             
            <div class="section" id="null">
         
     | 
| 
       170 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 170 
     | 
    
         
            +
            <h3>8.11.2.2.5. Null<a class="headerlink" href="#null" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       171 
171 
     | 
    
         
             
            <p>Null literal is <tt class="docutils literal"><span class="pre">null</span></tt>. Groonga doesn't support null value but null
         
     | 
| 
       172 
172 
     | 
    
         
             
            literal is supported.</p>
         
     | 
| 
       173 
173 
     | 
    
         
             
            </div>
         
     | 
| 
       174 
174 
     | 
    
         
             
            <div class="section" id="time">
         
     | 
| 
       175 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 175 
     | 
    
         
            +
            <h3>8.11.2.2.6. Time<a class="headerlink" href="#time" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       176 
176 
     | 
    
         
             
            <div class="admonition note">
         
     | 
| 
       177 
177 
     | 
    
         
             
            <p class="first admonition-title">Note</p>
         
     | 
| 
       178 
178 
     | 
    
         
             
            <p class="last">This is the groonga original notation.</p>
         
     | 
| 
         @@ -194,7 +194,7 @@ have elapsed since midnight UTC, January 1, 1970. For example, 
     | 
|
| 
       194 
194 
     | 
    
         
             
            format.</p>
         
     | 
| 
       195 
195 
     | 
    
         
             
            </div>
         
     | 
| 
       196 
196 
     | 
    
         
             
            <div class="section" id="geo-point">
         
     | 
| 
       197 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 197 
     | 
    
         
            +
            <h3>8.11.2.2.7. Geo point<a class="headerlink" href="#geo-point" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       198 
198 
     | 
    
         
             
            <div class="admonition note">
         
     | 
| 
       199 
199 
     | 
    
         
             
            <p class="first admonition-title">Note</p>
         
     | 
| 
       200 
200 
     | 
    
         
             
            <p class="last">This is the groonga original notation.</p>
         
     | 
| 
         @@ -213,17 +213,17 @@ format.</p> 
     | 
|
| 
       213 
213 
     | 
    
         
             
            be represented in milliseconds or degree.</p>
         
     | 
| 
       214 
214 
     | 
    
         
             
            </div>
         
     | 
| 
       215 
215 
     | 
    
         
             
            <div class="section" id="array">
         
     | 
| 
       216 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 216 
     | 
    
         
            +
            <h3>8.11.2.2.8. Array<a class="headerlink" href="#array" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       217 
217 
     | 
    
         
             
            <p>Array literal is <tt class="docutils literal"><span class="pre">[element1,</span> <span class="pre">element2,</span> <span class="pre">...]</span></tt>.</p>
         
     | 
| 
       218 
218 
     | 
    
         
             
            </div>
         
     | 
| 
       219 
219 
     | 
    
         
             
            <div class="section" id="object-literal">
         
     | 
| 
       220 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 220 
     | 
    
         
            +
            <h3>8.11.2.2.9. Object literal<a class="headerlink" href="#object-literal" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       221 
221 
     | 
    
         
             
            <p>Object literal is <tt 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></tt>. 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 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 226 
     | 
    
         
            +
            <h2>8.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 
228 
     | 
    
         
             
            statement such as <tt class="docutils literal"><span class="pre">if</span></tt>. You can only use <tt 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></tt> expression as
         
     | 
| 
       229 
229 
     | 
    
         
             
            control syntax.</p>
         
     | 
| 
         @@ -288,7 +288,7 @@ and <tt class="docutils literal"><span class="pre">n_likes</span></tt> column va 
     | 
|
| 
       288 
288 
     | 
    
         
             
            not equal to 1 and <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal to <tt class="docutils literal"><span class="pre">3</span></tt>.</p>
         
     | 
| 
       289 
289 
     | 
    
         
             
            </div>
         
     | 
| 
       290 
290 
     | 
    
         
             
            <div class="section" id="grouping">
         
     | 
| 
       291 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 291 
     | 
    
         
            +
            <h2>8.11.2.4. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       292 
292 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">(...)</span></tt>. <tt class="docutils literal"><span class="pre">...</span></tt> is comma separated expression list.</p>
         
     | 
| 
       293 
293 
     | 
    
         
             
            <p><tt class="docutils literal"><span class="pre">(...)</span></tt> groups one ore more expressions and they can be processed as
         
     | 
| 
       294 
294 
     | 
    
         
             
            an expression. <tt 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></tt> means that <tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are matched
         
     | 
| 
         @@ -396,7 +396,7 @@ select Entries --filter 'n_likes < 5 && (content @ "senna&qu 
     | 
|
| 
       396 
396 
     | 
    
         
             
            matched.</p>
         
     | 
| 
       397 
397 
     | 
    
         
             
            </div>
         
     | 
| 
       398 
398 
     | 
    
         
             
            <div class="section" id="function-call">
         
     | 
| 
       399 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 399 
     | 
    
         
            +
            <h2>8.11.2.5. Function call<a class="headerlink" href="#function-call" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       400 
400 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">name(arugment1,</span> <span class="pre">argument2,</span> <span class="pre">...)</span></tt>.</p>
         
     | 
| 
       401 
401 
     | 
    
         
             
            <p><tt class="docutils literal"><span class="pre">name(argument1,</span> <span class="pre">argument2,</span> <span class="pre">...)</span></tt> calls a function that is named
         
     | 
| 
       402 
402 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">name</span></tt> with arguments <tt class="docutils literal"><span class="pre">argument1</span></tt>, <tt class="docutils literal"><span class="pre">argument2</span></tt> and <tt class="docutils literal"><span class="pre">...</span></tt>.</p>
         
     | 
| 
         @@ -458,13 +458,13 @@ treated as similar. In this case, <tt class="docutils literal"><span class="pre" 
     | 
|
| 
       458 
458 
     | 
    
         
             
            treated as similar.</p>
         
     | 
| 
       459 
459 
     | 
    
         
             
            </div>
         
     | 
| 
       460 
460 
     | 
    
         
             
            <div class="section" id="basic-operators">
         
     | 
| 
       461 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 461 
     | 
    
         
            +
            <h2>8.11.2.6. Basic operators<a class="headerlink" href="#basic-operators" title="Permalink to this headline">¶</a></h2>
         
     | 
| 
       462 
462 
     | 
    
         
             
            <p>Groonga supports operators defined in ECMAScript.</p>
         
     | 
| 
       463 
463 
     | 
    
         
             
            <div class="section" id="arithmetic-operators">
         
     | 
| 
       464 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 464 
     | 
    
         
            +
            <h3>8.11.2.6.1. Arithmetic operators<a class="headerlink" href="#arithmetic-operators" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       465 
465 
     | 
    
         
             
            <p>Here are arithmetic operators.</p>
         
     | 
| 
       466 
466 
     | 
    
         
             
            <div class="section" id="addition-operator">
         
     | 
| 
       467 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 467 
     | 
    
         
            +
            <h4>8.11.2.6.1.1. Addition operator<a class="headerlink" href="#addition-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       468 
468 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">+</span> <span class="pre">number2</span></tt>.</p>
         
     | 
| 
       469 
469 
     | 
    
         
             
            <p>The operator adds <tt class="docutils literal"><span class="pre">number1</span></tt> and <tt class="docutils literal"><span class="pre">number2</span></tt> and returns the result.</p>
         
     | 
| 
       470 
470 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
         @@ -514,7 +514,7 @@ treated as similar.</p> 
     | 
|
| 
       514 
514 
     | 
    
         
             
            to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="docutils literal"><span class="pre">10</span> <span class="pre">+</span> <span class="pre">5</span></tt>).</p>
         
     | 
| 
       515 
515 
     | 
    
         
             
            </div>
         
     | 
| 
       516 
516 
     | 
    
         
             
            <div class="section" id="subtraction-operator">
         
     | 
| 
       517 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 517 
     | 
    
         
            +
            <h4>8.11.2.6.1.2. Subtraction operator<a class="headerlink" href="#subtraction-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       518 
518 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">-</span> <span class="pre">number2</span></tt>.</p>
         
     | 
| 
       519 
519 
     | 
    
         
             
            <p>The operator subtracts <tt class="docutils literal"><span class="pre">number2</span></tt> from <tt class="docutils literal"><span class="pre">number1</span></tt> and returns the result.</p>
         
     | 
| 
       520 
520 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
         @@ -564,7 +564,7 @@ to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="d 
     | 
|
| 
       564 
564 
     | 
    
         
             
            to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="docutils literal"><span class="pre">20</span> <span class="pre">-</span> <span class="pre">5</span></tt>).</p>
         
     | 
| 
       565 
565 
     | 
    
         
             
            </div>
         
     | 
| 
       566 
566 
     | 
    
         
             
            <div class="section" id="multiplication-operator">
         
     | 
| 
       567 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 567 
     | 
    
         
            +
            <h4>8.11.2.6.1.3. Multiplication operator<a class="headerlink" href="#multiplication-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       568 
568 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">*</span> <span class="pre">number2</span></tt>.</p>
         
     | 
| 
       569 
569 
     | 
    
         
             
            <p>The operator multiplies <tt class="docutils literal"><span class="pre">number1</span></tt> and <tt class="docutils literal"><span class="pre">number2</span></tt> and returns the result.</p>
         
     | 
| 
       570 
570 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
         @@ -614,7 +614,7 @@ to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="d 
     | 
|
| 
       614 
614 
     | 
    
         
             
            to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="docutils literal"><span class="pre">3</span> <span class="pre">*</span> <span class="pre">5</span></tt>).</p>
         
     | 
| 
       615 
615 
     | 
    
         
             
            </div>
         
     | 
| 
       616 
616 
     | 
    
         
             
            <div class="section" id="division-operator">
         
     | 
| 
       617 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 617 
     | 
    
         
            +
            <h4>8.11.2.6.1.4. Division operator<a class="headerlink" href="#division-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       618 
618 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">/</span> <span class="pre">number2</span></tt> and <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">%</span> <span class="pre">number2</span></tt>.</p>
         
     | 
| 
       619 
619 
     | 
    
         
             
            <p>The operator divides <tt class="docutils literal"><span class="pre">number2</span></tt> by <tt class="docutils literal"><span class="pre">number1</span></tt>. <tt class="docutils literal"><span class="pre">/</span></tt> returns the
         
     | 
| 
       620 
620 
     | 
    
         
             
            quotient of result. <tt class="docutils literal"><span class="pre">%</span></tt> returns the remainder of result.</p>
         
     | 
| 
         @@ -716,10 +716,10 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do 
     | 
|
| 
       716 
716 
     | 
    
         
             
            </div>
         
     | 
| 
       717 
717 
     | 
    
         
             
            </div>
         
     | 
| 
       718 
718 
     | 
    
         
             
            <div class="section" id="logical-operators">
         
     | 
| 
       719 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 719 
     | 
    
         
            +
            <h3>8.11.2.6.2. Logical operators<a class="headerlink" href="#logical-operators" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       720 
720 
     | 
    
         
             
            <p>Here are logical operators.</p>
         
     | 
| 
       721 
721 
     | 
    
         
             
            <div class="section" id="logical-not-operator">
         
     | 
| 
       722 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 722 
     | 
    
         
            +
            <h4>8.11.2.6.2.1. Logical NOT operator<a class="headerlink" href="#logical-not-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       723 
723 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">!condition</span></tt>.</p>
         
     | 
| 
       724 
724 
     | 
    
         
             
            <p>The operator inverts boolean value of <tt class="docutils literal"><span class="pre">condition</span></tt>.</p>
         
     | 
| 
       725 
725 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
         @@ -787,7 +787,7 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do 
     | 
|
| 
       787 
787 
     | 
    
         
             
            equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
         
     | 
| 
       788 
788 
     | 
    
         
             
            </div>
         
     | 
| 
       789 
789 
     | 
    
         
             
            <div class="section" id="logical-and-operator">
         
     | 
| 
       790 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 790 
     | 
    
         
            +
            <h4>8.11.2.6.2.2. Logical AND operator<a class="headerlink" href="#logical-and-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       791 
791 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">&&</span> <span class="pre">condition2</span></tt>.</p>
         
     | 
| 
       792 
792 
     | 
    
         
             
            <p>The operator returns true if both of <tt class="docutils literal"><span class="pre">condition1</span></tt> and
         
     | 
| 
       793 
793 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">condition2</span></tt> are true, false otherwise.</p>
         
     | 
| 
         @@ -845,7 +845,7 @@ word <tt class="docutils literal"><span class="pre">fast</span></tt> and <tt cla 
     | 
|
| 
       845 
845 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
         
     | 
| 
       846 
846 
     | 
    
         
             
            </div>
         
     | 
| 
       847 
847 
     | 
    
         
             
            <div class="section" id="logical-or-operator">
         
     | 
| 
       848 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 848 
     | 
    
         
            +
            <h4>8.11.2.6.2.3. Logical OR operator<a class="headerlink" href="#logical-or-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       849 
849 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">||</span> <span class="pre">condition2</span></tt>.</p>
         
     | 
| 
       850 
850 
     | 
    
         
             
            <p>The operator returns true if either <tt class="docutils literal"><span class="pre">condition1</span></tt> or <tt class="docutils literal"><span class="pre">condition2</span></tt> is
         
     | 
| 
       851 
851 
     | 
    
         
             
            true, false otherwise.</p>
         
     | 
| 
         @@ -902,7 +902,7 @@ true, false otherwise.</p> 
     | 
|
| 
       902 
902 
     | 
    
         
             
            to <tt class="docutils literal"><span class="pre">5</span></tt> or <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
         
     | 
| 
       903 
903 
     | 
    
         
             
            </div>
         
     | 
| 
       904 
904 
     | 
    
         
             
            <div class="section" id="logical-and-not-operator">
         
     | 
| 
       905 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 905 
     | 
    
         
            +
            <h4>8.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 
906 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">&!</span> <span class="pre">condition2</span></tt>.</p>
         
     | 
| 
       907 
907 
     | 
    
         
             
            <p>The operator returns true if <tt class="docutils literal"><span class="pre">condition1</span></tt> is true but <tt class="docutils literal"><span class="pre">condition2</span></tt>
         
     | 
| 
       908 
908 
     | 
    
         
             
            is false, false otherwise. It returns difference set.</p>
         
     | 
| 
         @@ -954,10 +954,10 @@ word <tt class="docutils literal"><span class="pre">fast</span></tt> but doesn't 
     | 
|
| 
       954 
954 
     | 
    
         
             
            </div>
         
     | 
| 
       955 
955 
     | 
    
         
             
            </div>
         
     | 
| 
       956 
956 
     | 
    
         
             
            <div class="section" id="bitwise-operators">
         
     | 
| 
       957 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 957 
     | 
    
         
            +
            <h3>8.11.2.6.3. Bitwise operators<a class="headerlink" href="#bitwise-operators" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       958 
958 
     | 
    
         
             
            <p>Here are bitwise operators.</p>
         
     | 
| 
       959 
959 
     | 
    
         
             
            <div class="section" id="bitwise-not-operator">
         
     | 
| 
       960 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 960 
     | 
    
         
            +
            <h4>8.11.2.6.3.1. Bitwise NOT operator<a class="headerlink" href="#bitwise-not-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       961 
961 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">~number</span></tt>.</p>
         
     | 
| 
       962 
962 
     | 
    
         
             
            <p>The operator returns bitwise NOT of <tt class="docutils literal"><span class="pre">number</span></tt>.</p>
         
     | 
| 
       963 
963 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
         @@ -1007,7 +1007,7 @@ word <tt class="docutils literal"><span class="pre">fast</span></tt> but doesn't 
     | 
|
| 
       1007 
1007 
     | 
    
         
             
            to <tt class="docutils literal"><span class="pre">5</span></tt> because bitwise NOT of <tt class="docutils literal"><span class="pre">5</span></tt> is equal to <tt class="docutils literal"><span class="pre">-6</span></tt>.</p>
         
     | 
| 
       1008 
1008 
     | 
    
         
             
            </div>
         
     | 
| 
       1009 
1009 
     | 
    
         
             
            <div class="section" id="bitwise-and-operator">
         
     | 
| 
       1010 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 1010 
     | 
    
         
            +
            <h4>8.11.2.6.3.2. Bitwise AND operator<a class="headerlink" href="#bitwise-and-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1011 
1011 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">&</span> <span class="pre">number2</span></tt>.</p>
         
     | 
| 
       1012 
1012 
     | 
    
         
             
            <p>The operator returns bitwise AND between <tt class="docutils literal"><span class="pre">number1</span></tt> and <tt class="docutils literal"><span class="pre">number2</span></tt>.</p>
         
     | 
| 
       1013 
1013 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
         @@ -1078,7 +1078,7 @@ to <tt class="docutils literal"><span class="pre">1</span></tt> and bitwise AND 
     | 
|
| 
       1078 
1078 
     | 
    
         
             
            </div>
         
     | 
| 
       1079 
1079 
     | 
    
         
             
            </div>
         
     | 
| 
       1080 
1080 
     | 
    
         
             
            <div class="section" id="bitwise-or-operator">
         
     | 
| 
       1081 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1081 
     | 
    
         
            +
            <h3>8.11.2.6.4. Bitwise OR operator<a class="headerlink" href="#bitwise-or-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1082 
1082 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">|</span> <span class="pre">number2</span></tt>.</p>
         
     | 
| 
       1083 
1083 
     | 
    
         
             
            <p>The operator returns bitwise OR between <tt class="docutils literal"><span class="pre">number1</span></tt> and <tt class="docutils literal"><span class="pre">number2</span></tt>.</p>
         
     | 
| 
       1084 
1084 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
         @@ -1128,7 +1128,7 @@ to <tt class="docutils literal"><span class="pre">1</span></tt> and bitwise AND 
     | 
|
| 
       1128 
1128 
     | 
    
         
             
            to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="docutils literal"><span class="pre">1</span> <span class="pre">|</span> <span class="pre">4</span></tt>).</p>
         
     | 
| 
       1129 
1129 
     | 
    
         
             
            </div>
         
     | 
| 
       1130 
1130 
     | 
    
         
             
            <div class="section" id="bitwise-xor-operator">
         
     | 
| 
       1131 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1131 
     | 
    
         
            +
            <h3>8.11.2.6.5. Bitwise XOR operator<a class="headerlink" href="#bitwise-xor-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1132 
1132 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">^</span> <span class="pre">number2</span></tt>.</p>
         
     | 
| 
       1133 
1133 
     | 
    
         
             
            <p>The operator returns bitwise XOR between <tt class="docutils literal"><span class="pre">number1</span></tt> and <tt class="docutils literal"><span class="pre">number2</span></tt>.</p>
         
     | 
| 
       1134 
1134 
     | 
    
         
             
            <p>Here is a simple example.</p>
         
     | 
| 
         @@ -1178,10 +1178,10 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do 
     | 
|
| 
       1178 
1178 
     | 
    
         
             
            to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="docutils literal"><span class="pre">10</span> <span class="pre">^</span> <span class="pre">15</span></tt>).</p>
         
     | 
| 
       1179 
1179 
     | 
    
         
             
            </div>
         
     | 
| 
       1180 
1180 
     | 
    
         
             
            <div class="section" id="shift-operators">
         
     | 
| 
       1181 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1181 
     | 
    
         
            +
            <h3>8.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 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 1184 
     | 
    
         
            +
            <h4>8.11.2.6.6.1. Left shift operator<a class="headerlink" href="#left-shift-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1185 
1185 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre"><<</span> <span class="pre">number2</span></tt>.</p>
         
     | 
| 
       1186 
1186 
     | 
    
         
             
            <p>The operator performs a bitwise left shift operation on <tt class="docutils literal"><span class="pre">number1</span></tt> by
         
     | 
| 
       1187 
1187 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">number2</span></tt>.</p>
         
     | 
| 
         @@ -1232,7 +1232,7 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do 
     | 
|
| 
       1232 
1232 
     | 
    
         
             
            to <tt class="docutils literal"><span class="pre">10</span></tt> (= <tt class="docutils literal"><span class="pre">5</span> <span class="pre"><<</span> <span class="pre">1</span></tt>).</p>
         
     | 
| 
       1233 
1233 
     | 
    
         
             
            </div>
         
     | 
| 
       1234 
1234 
     | 
    
         
             
            <div class="section" id="signed-right-shift-operator">
         
     | 
| 
       1235 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 1235 
     | 
    
         
            +
            <h4>8.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 
1236 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">>></span> <span class="pre">number2</span></tt>.</p>
         
     | 
| 
       1237 
1237 
     | 
    
         
             
            <p>The operator shifts bits of <tt class="docutils literal"><span class="pre">number1</span></tt> to right by <tt class="docutils literal"><span class="pre">number2</span></tt>. The sign
         
     | 
| 
       1238 
1238 
     | 
    
         
             
            of the result is the same as <tt class="docutils literal"><span class="pre">number1</span></tt>.</p>
         
     | 
| 
         @@ -1283,7 +1283,7 @@ of the result is the same as <tt class="docutils literal"><span class="pre">numb 
     | 
|
| 
       1283 
1283 
     | 
    
         
             
            to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="docutils literal"><span class="pre">-(-10</span> <span class="pre">>></span> <span class="pre">1)</span></tt> = <tt class="docutils literal"><span class="pre">-(-5)</span></tt>).</p>
         
     | 
| 
       1284 
1284 
     | 
    
         
             
            </div>
         
     | 
| 
       1285 
1285 
     | 
    
         
             
            <div class="section" id="unsigned-right-shift-operator">
         
     | 
| 
       1286 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 1286 
     | 
    
         
            +
            <h4>8.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 
1287 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">>>></span> <span class="pre">number2</span></tt>.</p>
         
     | 
| 
       1288 
1288 
     | 
    
         
             
            <p>The operator shifts bits of <tt class="docutils literal"><span class="pre">number1</span></tt> to right by <tt class="docutils literal"><span class="pre">number2</span></tt>. The
         
     | 
| 
       1289 
1289 
     | 
    
         
             
            leftmost <tt class="docutils literal"><span class="pre">number2</span></tt> bits are filled by <tt class="docutils literal"><span class="pre">0</span></tt>.</p>
         
     | 
| 
         @@ -1335,10 +1335,10 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do 
     | 
|
| 
       1335 
1335 
     | 
    
         
             
            </div>
         
     | 
| 
       1336 
1336 
     | 
    
         
             
            </div>
         
     | 
| 
       1337 
1337 
     | 
    
         
             
            <div class="section" id="comparison-operators">
         
     | 
| 
       1338 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1338 
     | 
    
         
            +
            <h3>8.11.2.6.7. Comparison operators<a class="headerlink" href="#comparison-operators" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1339 
1339 
     | 
    
         
             
            <p>Here are comparison operators.</p>
         
     | 
| 
       1340 
1340 
     | 
    
         
             
            <div class="section" id="equal-operator">
         
     | 
| 
       1341 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 1341 
     | 
    
         
            +
            <h4>8.11.2.6.7.1. Equal operator<a class="headerlink" href="#equal-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1342 
1342 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">object1</span> <span class="pre">==</span> <span class="pre">object2</span></tt>.</p>
         
     | 
| 
       1343 
1343 
     | 
    
         
             
            <p>The operator returns true if <tt class="docutils literal"><span class="pre">object1</span></tt> equals to <tt class="docutils literal"><span class="pre">object2</span></tt>, false
         
     | 
| 
       1344 
1344 
     | 
    
         
             
            otherwise.</p>
         
     | 
| 
         @@ -1389,7 +1389,7 @@ otherwise.</p> 
     | 
|
| 
       1389 
1389 
     | 
    
         
             
            to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
         
     | 
| 
       1390 
1390 
     | 
    
         
             
            </div>
         
     | 
| 
       1391 
1391 
     | 
    
         
             
            <div class="section" id="not-equal-operator">
         
     | 
| 
       1392 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 1392 
     | 
    
         
            +
            <h4>8.11.2.6.7.2. Not equal operator<a class="headerlink" href="#not-equal-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1393 
1393 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">object1</span> <span class="pre">!=</span> <span class="pre">object2</span></tt>.</p>
         
     | 
| 
       1394 
1394 
     | 
    
         
             
            <p>The operator returns true if <tt class="docutils literal"><span class="pre">object1</span></tt> does not equal to
         
     | 
| 
       1395 
1395 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">object2</span></tt>, false otherwise.</p>
         
     | 
| 
         @@ -1458,27 +1458,27 @@ to <tt class="docutils literal"><span class="pre">5</span></tt>.</p> 
     | 
|
| 
       1458 
1458 
     | 
    
         
             
            equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
         
     | 
| 
       1459 
1459 
     | 
    
         
             
            </div>
         
     | 
| 
       1460 
1460 
     | 
    
         
             
            <div class="section" id="less-than-operator">
         
     | 
| 
       1461 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 1461 
     | 
    
         
            +
            <h4>8.11.2.6.7.3. Less than operator<a class="headerlink" href="#less-than-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1462 
1462 
     | 
    
         
             
            <p>TODO: ...</p>
         
     | 
| 
       1463 
1463 
     | 
    
         
             
            </div>
         
     | 
| 
       1464 
1464 
     | 
    
         
             
            <div class="section" id="less-than-or-equal-to-operator">
         
     | 
| 
       1465 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 1465 
     | 
    
         
            +
            <h4>8.11.2.6.7.4. Less than or equal to operator<a class="headerlink" href="#less-than-or-equal-to-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1466 
1466 
     | 
    
         
             
            <p>TODO: ...</p>
         
     | 
| 
       1467 
1467 
     | 
    
         
             
            </div>
         
     | 
| 
       1468 
1468 
     | 
    
         
             
            <div class="section" id="greater-than-operator">
         
     | 
| 
       1469 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 1469 
     | 
    
         
            +
            <h4>8.11.2.6.7.5. Greater than operator<a class="headerlink" href="#greater-than-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1470 
1470 
     | 
    
         
             
            <p>TODO: ...</p>
         
     | 
| 
       1471 
1471 
     | 
    
         
             
            </div>
         
     | 
| 
       1472 
1472 
     | 
    
         
             
            <div class="section" id="greater-than-or-equal-to-operator">
         
     | 
| 
       1473 
     | 
    
         
            -
            <h4>8. 
     | 
| 
      
 1473 
     | 
    
         
            +
            <h4>8.11.2.6.7.6. Greater than or equal to operator<a class="headerlink" href="#greater-than-or-equal-to-operator" title="Permalink to this headline">¶</a></h4>
         
     | 
| 
       1474 
1474 
     | 
    
         
             
            <p>TODO: ...</p>
         
     | 
| 
       1475 
1475 
     | 
    
         
             
            </div>
         
     | 
| 
       1476 
1476 
     | 
    
         
             
            </div>
         
     | 
| 
       1477 
1477 
     | 
    
         
             
            </div>
         
     | 
| 
       1478 
1478 
     | 
    
         
             
            <div class="section" id="assignment-operators">
         
     | 
| 
       1479 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 1479 
     | 
    
         
            +
            <h2>8.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 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1481 
     | 
    
         
            +
            <h3>8.11.2.7.1. Addition assignment operator<a class="headerlink" href="#addition-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1482 
1482 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">+=</span> <span class="pre">column2</span></tt>.</p>
         
     | 
| 
       1483 
1483 
     | 
    
         
             
            <p>The operator performs addition assginment operation on column1 by column2.</p>
         
     | 
| 
       1484 
1484 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -1545,7 +1545,7 @@ is 3.</p> 
     | 
|
| 
       1545 
1545 
     | 
    
         
             
            <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">+</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
         
     | 
| 
       1546 
1546 
     | 
    
         
             
            </div>
         
     | 
| 
       1547 
1547 
     | 
    
         
             
            <div class="section" id="subtraction-assignment-operator">
         
     | 
| 
       1548 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1548 
     | 
    
         
            +
            <h3>8.11.2.7.2. Subtraction assignment operator<a class="headerlink" href="#subtraction-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1549 
1549 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">-=</span> <span class="pre">column2</span></tt>.</p>
         
     | 
| 
       1550 
1550 
     | 
    
         
             
            <p>The operator performs subtraction assginment operation on column1 by column2.</p>
         
     | 
| 
       1551 
1551 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -1612,7 +1612,7 @@ is 3.</p> 
     | 
|
| 
       1612 
1612 
     | 
    
         
             
            <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">-</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
         
     | 
| 
       1613 
1613 
     | 
    
         
             
            </div>
         
     | 
| 
       1614 
1614 
     | 
    
         
             
            <div class="section" id="multiplication-assignment-operator">
         
     | 
| 
       1615 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1615 
     | 
    
         
            +
            <h3>8.11.2.7.3. Multiplication assignment operator<a class="headerlink" href="#multiplication-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1616 
1616 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">*=</span> <span class="pre">column2</span></tt>.</p>
         
     | 
| 
       1617 
1617 
     | 
    
         
             
            <p>The operator performs multiplication assginment operation on column1 by column2.</p>
         
     | 
| 
       1618 
1618 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -1679,7 +1679,7 @@ is 3.</p> 
     | 
|
| 
       1679 
1679 
     | 
    
         
             
            <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">*</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
         
     | 
| 
       1680 
1680 
     | 
    
         
             
            </div>
         
     | 
| 
       1681 
1681 
     | 
    
         
             
            <div class="section" id="division-assignment-operator">
         
     | 
| 
       1682 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1682 
     | 
    
         
            +
            <h3>8.11.2.7.4. Division assignment operator<a class="headerlink" href="#division-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1683 
1683 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">/=</span> <span class="pre">column2</span></tt>.</p>
         
     | 
| 
       1684 
1684 
     | 
    
         
             
            <p>The operator performs division assginment operation on column1 by column2.</p>
         
     | 
| 
       1685 
1685 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -1746,7 +1746,7 @@ is 3.</p> 
     | 
|
| 
       1746 
1746 
     | 
    
         
             
            <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">/</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
         
     | 
| 
       1747 
1747 
     | 
    
         
             
            </div>
         
     | 
| 
       1748 
1748 
     | 
    
         
             
            <div class="section" id="modulo-assignment-operator">
         
     | 
| 
       1749 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1749 
     | 
    
         
            +
            <h3>8.11.2.7.5. Modulo assignment operator<a class="headerlink" href="#modulo-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1750 
1750 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">%=</span> <span class="pre">column2</span></tt>.</p>
         
     | 
| 
       1751 
1751 
     | 
    
         
             
            <p>The operator performs modulo assginment operation on column1 by column2.</p>
         
     | 
| 
       1752 
1752 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -1813,7 +1813,7 @@ is 3.</p> 
     | 
|
| 
       1813 
1813 
     | 
    
         
             
            <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">%</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
         
     | 
| 
       1814 
1814 
     | 
    
         
             
            </div>
         
     | 
| 
       1815 
1815 
     | 
    
         
             
            <div class="section" id="bitwise-left-shift-assignment-operator">
         
     | 
| 
       1816 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1816 
     | 
    
         
            +
            <h3>8.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 
1817 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre"><<=</span> <span class="pre">column2</span></tt>.</p>
         
     | 
| 
       1818 
1818 
     | 
    
         
             
            <p>The operator performs left shift assginment operation on column1 by column2.</p>
         
     | 
| 
       1819 
1819 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -1880,17 +1880,17 @@ is 3.</p> 
     | 
|
| 
       1880 
1880 
     | 
    
         
             
            <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre"><<</span> <span class="pre">3</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
         
     | 
| 
       1881 
1881 
     | 
    
         
             
            </div>
         
     | 
| 
       1882 
1882 
     | 
    
         
             
            <div class="section" id="bitwise-signed-right-shift-assignment-operator">
         
     | 
| 
       1883 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1883 
     | 
    
         
            +
            <h3>8.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 
1884 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column2</span> <span class="pre">>>=</span> <span class="pre">column2</span></tt>.</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 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1888 
     | 
    
         
            +
            <h3>8.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 
1889 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">>>>=</span> <span class="pre">column2</span></tt>.</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 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1893 
     | 
    
         
            +
            <h3>8.11.2.7.9. Bitwise AND assignment operator<a class="headerlink" href="#bitwise-and-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1894 
1894 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">&=</span> <span class="pre">column2</span></tt>.</p>
         
     | 
| 
       1895 
1895 
     | 
    
         
             
            <p>The operator performs bitwise AND assignment operation on column1 by column2.</p>
         
     | 
| 
       1896 
1896 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -1957,7 +1957,7 @@ is 10.</p> 
     | 
|
| 
       1957 
1957 
     | 
    
         
             
            <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">&</span> <span class="pre">10</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
         
     | 
| 
       1958 
1958 
     | 
    
         
             
            </div>
         
     | 
| 
       1959 
1959 
     | 
    
         
             
            <div class="section" id="bitwise-or-assignment-operator">
         
     | 
| 
       1960 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 1960 
     | 
    
         
            +
            <h3>8.11.2.7.10. Bitwise OR assignment operator<a class="headerlink" href="#bitwise-or-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       1961 
1961 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">|=</span> <span class="pre">column2</span></tt>.</p>
         
     | 
| 
       1962 
1962 
     | 
    
         
             
            <p>The operator performs bitwise OR assignment operation on column1 by column2.</p>
         
     | 
| 
       1963 
1963 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -2024,7 +2024,7 @@ is 10.</p> 
     | 
|
| 
       2024 
2024 
     | 
    
         
             
            <p>So the expression <tt class="docutils literal"><span class="pre">1</span> <span class="pre">|</span> <span class="pre">10</span></tt> is evaluated and stored to <tt class="docutils literal"><span class="pre">_score</span></tt> column as the execution result.</p>
         
     | 
| 
       2025 
2025 
     | 
    
         
             
            </div>
         
     | 
| 
       2026 
2026 
     | 
    
         
             
            <div class="section" id="bitwise-xor-assignment-operator">
         
     | 
| 
       2027 
     | 
    
         
            -
            <h3>8. 
     | 
| 
      
 2027 
     | 
    
         
            +
            <h3>8.11.2.7.11. Bitwise XOR assignment operator<a class="headerlink" href="#bitwise-xor-assignment-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2028 
2028 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">^=</span> <span class="pre">column2</span></tt>.</p>
         
     | 
| 
       2029 
2029 
     | 
    
         
             
            <p>The operator performs bitwise XOR assginment operation on column1 by column2.</p>
         
     | 
| 
       2030 
2030 
     | 
    
         
             
            <p>Execution example:</p>
         
     | 
| 
         @@ -2092,12 +2092,12 @@ is 3.</p> 
     | 
|
| 
       2092 
2092 
     | 
    
         
             
            </div>
         
     | 
| 
       2093 
2093 
     | 
    
         
             
            </div>
         
     | 
| 
       2094 
2094 
     | 
    
         
             
            <div class="section" id="original-operators">
         
     | 
| 
       2095 
     | 
    
         
            -
            <h2>8. 
     | 
| 
      
 2095 
     | 
    
         
            +
            <h2>8.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 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">@</span></tt> or <tt class="docutils literal"><span class="pre">*</span></tt>.</p>
         
     | 
| 
       2099 
2099 
     | 
    
         
             
            <div class="section" id="match-operator">
         
     | 
| 
       2100 
     | 
    
         
            -
            <span id="match-oeprator"></span><h3>8. 
     | 
| 
      
 2100 
     | 
    
         
            +
            <span id="match-oeprator"></span><h3>8.11.2.8.1. Match operator<a class="headerlink" href="#match-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2101 
2101 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">@</span> <span class="pre">value</span></tt>.</p>
         
     | 
| 
       2102 
2102 
     | 
    
         
             
            <p>The operator searches <tt class="docutils literal"><span class="pre">value</span></tt> by inverted index of <tt class="docutils literal"><span class="pre">column</span></tt>.
         
     | 
| 
       2103 
2103 
     | 
    
         
             
            Normally, full text search is operated but tag search can be operated.
         
     | 
| 
         @@ -2138,7 +2138,7 @@ Because tag search is also implemented by inverted index.</p> 
     | 
|
| 
       2138 
2138 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
         
     | 
| 
       2139 
2139 
     | 
    
         
             
            </div>
         
     | 
| 
       2140 
2140 
     | 
    
         
             
            <div class="section" id="prefix-search-operator">
         
     | 
| 
       2141 
     | 
    
         
            -
            <span id="id1"></span><h3>8. 
     | 
| 
      
 2141 
     | 
    
         
            +
            <span id="id1"></span><h3>8.11.2.8.2. Prefix search operator<a class="headerlink" href="#prefix-search-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2142 
2142 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">@^</span> <span class="pre">value</span></tt>.</p>
         
     | 
| 
       2143 
2143 
     | 
    
         
             
            <p>The operator does prefix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Prefix search searches
         
     | 
| 
       2144 
2144 
     | 
    
         
             
            records that contain a word that starts with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
         
     | 
| 
         @@ -2187,7 +2187,7 @@ time for large records.</p> 
     | 
|
| 
       2187 
2187 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></tt> are matched with the expression.</p>
         
     | 
| 
       2188 
2188 
     | 
    
         
             
            </div>
         
     | 
| 
       2189 
2189 
     | 
    
         
             
            <div class="section" id="suffix-search-operator">
         
     | 
| 
       2190 
     | 
    
         
            -
            <span id="id2"></span><h3>8. 
     | 
| 
      
 2190 
     | 
    
         
            +
            <span id="id2"></span><h3>8.11.2.8.3. Suffix search operator<a class="headerlink" href="#suffix-search-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2191 
2191 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">@$</span> <span class="pre">value</span></tt>.</p>
         
     | 
| 
       2192 
2192 
     | 
    
         
             
            <p>This operator does suffix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Suffix search
         
     | 
| 
       2193 
2193 
     | 
    
         
             
            searches records that contain a word that ends with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
         
     | 
| 
         @@ -2270,7 +2270,7 @@ in <tt class="docutils literal"><span class="pre">content</span></tt> column val 
     | 
|
| 
       2270 
2270 
     | 
    
         
             
            with the expression.</p>
         
     | 
| 
       2271 
2271 
     | 
    
         
             
            </div>
         
     | 
| 
       2272 
2272 
     | 
    
         
             
            <div class="section" id="near-search-operator">
         
     | 
| 
       2273 
     | 
    
         
            -
            <span id="id3"></span><h3>8. 
     | 
| 
      
 2273 
     | 
    
         
            +
            <span id="id3"></span><h3>8.11.2.8.4. Near search operator<a class="headerlink" href="#near-search-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2274 
2274 
     | 
    
         
             
            <p>Its syntax is <tt 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></tt>.</p>
         
     | 
| 
       2275 
2275 
     | 
    
         
             
            <p>The operator does near search with words <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span> <span class="pre">...</span></tt>. Near
         
     | 
| 
       2276 
2276 
     | 
    
         
             
            search searches records that contain the words and the words are
         
     | 
| 
         @@ -2355,7 +2355,7 @@ the record that its content is <tt class="docutils literal"><span class="pre">I< 
     | 
|
| 
       2355 
2355 
     | 
    
         
             
            <tt class="docutils literal"><span class="pre">also</span></tt> and <tt class="docutils literal"><span class="pre">Really</span></tt> is 10.</p>
         
     | 
| 
       2356 
2356 
     | 
    
         
             
            </div>
         
     | 
| 
       2357 
2357 
     | 
    
         
             
            <div class="section" id="similar-search">
         
     | 
| 
       2358 
     | 
    
         
            -
            <span id="similar-search-operator"></span><h3>8. 
     | 
| 
      
 2358 
     | 
    
         
            +
            <span id="similar-search-operator"></span><h3>8.11.2.8.5. Similar search<a class="headerlink" href="#similar-search" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2359 
2359 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">*S</span> <span class="pre">"document"</span></tt>.</p>
         
     | 
| 
       2360 
2360 
     | 
    
         
             
            <p>The operator does similar search with document <tt class="docutils literal"><span class="pre">document</span></tt>. Similar
         
     | 
| 
       2361 
2361 
     | 
    
         
             
            search searches records that have similar content to
         
     | 
| 
         @@ -2398,7 +2398,7 @@ search searches records that have similar content to 
     | 
|
| 
       2398 
2398 
     | 
    
         
             
            <span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">XXX</span> <span class="pre">system!</span></tt> content are matched.</p>
         
     | 
| 
       2399 
2399 
     | 
    
         
             
            </div>
         
     | 
| 
       2400 
2400 
     | 
    
         
             
            <div class="section" id="term-extract-operator">
         
     | 
| 
       2401 
     | 
    
         
            -
            <span id="id4"></span><h3>8. 
     | 
| 
      
 2401 
     | 
    
         
            +
            <span id="id4"></span><h3>8.11.2.8.6. Term extract operator<a class="headerlink" href="#term-extract-operator" title="Permalink to this headline">¶</a></h3>
         
     | 
| 
       2402 
2402 
     | 
    
         
             
            <p>Its syntax is <tt class="docutils literal"><span class="pre">_key</span> <span class="pre">*T</span> <span class="pre">"document"</span></tt>.</p>
         
     | 
| 
       2403 
2403 
     | 
    
         
             
            <p>The operator extracts terms from <tt class="docutils literal"><span class="pre">document</span></tt>. Terms must be
         
     | 
| 
       2404 
2404 
     | 
    
         
             
            registered as keys of the table of <tt class="docutils literal"><span class="pre">_key</span></tt>.</p>
         
     | 
| 
         @@ -2465,83 +2465,83 @@ are also normalized.</p> 
     | 
|
| 
       2465 
2465 
     | 
    
         
             
                    <div class="sphinxsidebarwrapper">
         
     | 
| 
       2466 
2466 
     | 
    
         
             
              <h3><a href="../../index.html">Table Of Contents</a></h3>
         
     | 
| 
       2467 
2467 
     | 
    
         
             
              <ul>
         
     | 
| 
       2468 
     | 
    
         
            -
            <li><a class="reference internal" href="#">8. 
     | 
| 
       2469 
     | 
    
         
            -
            <li><a class="reference internal" href="#sample-data">8. 
     | 
| 
       2470 
     | 
    
         
            -
            <li><a class="reference internal" href="#literals">8. 
     | 
| 
       2471 
     | 
    
         
            -
            <li><a class="reference internal" href="#integer">8. 
     | 
| 
       2472 
     | 
    
         
            -
            <li><a class="reference internal" href="#float">8. 
     | 
| 
       2473 
     | 
    
         
            -
            <li><a class="reference internal" href="#string">8. 
     | 
| 
       2474 
     | 
    
         
            -
            <li><a class="reference internal" href="#boolean">8. 
     | 
| 
       2475 
     | 
    
         
            -
            <li><a class="reference internal" href="#null">8. 
     | 
| 
       2476 
     | 
    
         
            -
            <li><a class="reference internal" href="#time">8. 
     | 
| 
       2477 
     | 
    
         
            -
            <li><a class="reference internal" href="#geo-point">8. 
     | 
| 
       2478 
     | 
    
         
            -
            <li><a class="reference internal" href="#array">8. 
     | 
| 
       2479 
     | 
    
         
            -
            <li><a class="reference internal" href="#object-literal">8. 
     | 
| 
      
 2468 
     | 
    
         
            +
            <li><a class="reference internal" href="#">8.11.2. Script syntax</a><ul>
         
     | 
| 
      
 2469 
     | 
    
         
            +
            <li><a class="reference internal" href="#sample-data">8.11.2.1. Sample data</a></li>
         
     | 
| 
      
 2470 
     | 
    
         
            +
            <li><a class="reference internal" href="#literals">8.11.2.2. Literals</a><ul>
         
     | 
| 
      
 2471 
     | 
    
         
            +
            <li><a class="reference internal" href="#integer">8.11.2.2.1. Integer</a></li>
         
     | 
| 
      
 2472 
     | 
    
         
            +
            <li><a class="reference internal" href="#float">8.11.2.2.2. Float</a></li>
         
     | 
| 
      
 2473 
     | 
    
         
            +
            <li><a class="reference internal" href="#string">8.11.2.2.3. String</a></li>
         
     | 
| 
      
 2474 
     | 
    
         
            +
            <li><a class="reference internal" href="#boolean">8.11.2.2.4. Boolean</a></li>
         
     | 
| 
      
 2475 
     | 
    
         
            +
            <li><a class="reference internal" href="#null">8.11.2.2.5. Null</a></li>
         
     | 
| 
      
 2476 
     | 
    
         
            +
            <li><a class="reference internal" href="#time">8.11.2.2.6. Time</a></li>
         
     | 
| 
      
 2477 
     | 
    
         
            +
            <li><a class="reference internal" href="#geo-point">8.11.2.2.7. Geo point</a></li>
         
     | 
| 
      
 2478 
     | 
    
         
            +
            <li><a class="reference internal" href="#array">8.11.2.2.8. Array</a></li>
         
     | 
| 
      
 2479 
     | 
    
         
            +
            <li><a class="reference internal" href="#object-literal">8.11.2.2.9. Object literal</a></li>
         
     | 
| 
       2480 
2480 
     | 
    
         
             
            </ul>
         
     | 
| 
       2481 
2481 
     | 
    
         
             
            </li>
         
     | 
| 
       2482 
     | 
    
         
            -
            <li><a class="reference internal" href="#control-syntaxes">8. 
     | 
| 
       2483 
     | 
    
         
            -
            <li><a class="reference internal" href="#grouping">8. 
     | 
| 
       2484 
     | 
    
         
            -
            <li><a class="reference internal" href="#function-call">8. 
     | 
| 
       2485 
     | 
    
         
            -
            <li><a class="reference internal" href="#basic-operators">8. 
     | 
| 
       2486 
     | 
    
         
            -
            <li><a class="reference internal" href="#arithmetic-operators">8. 
     | 
| 
       2487 
     | 
    
         
            -
            <li><a class="reference internal" href="#addition-operator">8. 
     | 
| 
       2488 
     | 
    
         
            -
            <li><a class="reference internal" href="#subtraction-operator">8. 
     | 
| 
       2489 
     | 
    
         
            -
            <li><a class="reference internal" href="#multiplication-operator">8. 
     | 
| 
       2490 
     | 
    
         
            -
            <li><a class="reference internal" href="#division-operator">8. 
     | 
| 
      
 2482 
     | 
    
         
            +
            <li><a class="reference internal" href="#control-syntaxes">8.11.2.3. Control syntaxes</a></li>
         
     | 
| 
      
 2483 
     | 
    
         
            +
            <li><a class="reference internal" href="#grouping">8.11.2.4. Grouping</a></li>
         
     | 
| 
      
 2484 
     | 
    
         
            +
            <li><a class="reference internal" href="#function-call">8.11.2.5. Function call</a></li>
         
     | 
| 
      
 2485 
     | 
    
         
            +
            <li><a class="reference internal" href="#basic-operators">8.11.2.6. Basic operators</a><ul>
         
     | 
| 
      
 2486 
     | 
    
         
            +
            <li><a class="reference internal" href="#arithmetic-operators">8.11.2.6.1. Arithmetic operators</a><ul>
         
     | 
| 
      
 2487 
     | 
    
         
            +
            <li><a class="reference internal" href="#addition-operator">8.11.2.6.1.1. Addition operator</a></li>
         
     | 
| 
      
 2488 
     | 
    
         
            +
            <li><a class="reference internal" href="#subtraction-operator">8.11.2.6.1.2. Subtraction operator</a></li>
         
     | 
| 
      
 2489 
     | 
    
         
            +
            <li><a class="reference internal" href="#multiplication-operator">8.11.2.6.1.3. Multiplication operator</a></li>
         
     | 
| 
      
 2490 
     | 
    
         
            +
            <li><a class="reference internal" href="#division-operator">8.11.2.6.1.4. Division operator</a></li>
         
     | 
| 
       2491 
2491 
     | 
    
         
             
            </ul>
         
     | 
| 
       2492 
2492 
     | 
    
         
             
            </li>
         
     | 
| 
       2493 
     | 
    
         
            -
            <li><a class="reference internal" href="#logical-operators">8. 
     | 
| 
       2494 
     | 
    
         
            -
            <li><a class="reference internal" href="#logical-not-operator">8. 
     | 
| 
       2495 
     | 
    
         
            -
            <li><a class="reference internal" href="#logical-and-operator">8. 
     | 
| 
       2496 
     | 
    
         
            -
            <li><a class="reference internal" href="#logical-or-operator">8. 
     | 
| 
       2497 
     | 
    
         
            -
            <li><a class="reference internal" href="#logical-and-not-operator">8. 
     | 
| 
      
 2493 
     | 
    
         
            +
            <li><a class="reference internal" href="#logical-operators">8.11.2.6.2. Logical operators</a><ul>
         
     | 
| 
      
 2494 
     | 
    
         
            +
            <li><a class="reference internal" href="#logical-not-operator">8.11.2.6.2.1. Logical NOT operator</a></li>
         
     | 
| 
      
 2495 
     | 
    
         
            +
            <li><a class="reference internal" href="#logical-and-operator">8.11.2.6.2.2. Logical AND operator</a></li>
         
     | 
| 
      
 2496 
     | 
    
         
            +
            <li><a class="reference internal" href="#logical-or-operator">8.11.2.6.2.3. Logical OR operator</a></li>
         
     | 
| 
      
 2497 
     | 
    
         
            +
            <li><a class="reference internal" href="#logical-and-not-operator">8.11.2.6.2.4. Logical AND NOT operator</a></li>
         
     | 
| 
       2498 
2498 
     | 
    
         
             
            </ul>
         
     | 
| 
       2499 
2499 
     | 
    
         
             
            </li>
         
     | 
| 
       2500 
     | 
    
         
            -
            <li><a class="reference internal" href="#bitwise-operators">8. 
     | 
| 
       2501 
     | 
    
         
            -
            <li><a class="reference internal" href="#bitwise-not-operator">8. 
     | 
| 
       2502 
     | 
    
         
            -
            <li><a class="reference internal" href="#bitwise-and-operator">8. 
     | 
| 
      
 2500 
     | 
    
         
            +
            <li><a class="reference internal" href="#bitwise-operators">8.11.2.6.3. Bitwise operators</a><ul>
         
     | 
| 
      
 2501 
     | 
    
         
            +
            <li><a class="reference internal" href="#bitwise-not-operator">8.11.2.6.3.1. Bitwise NOT operator</a></li>
         
     | 
| 
      
 2502 
     | 
    
         
            +
            <li><a class="reference internal" href="#bitwise-and-operator">8.11.2.6.3.2. Bitwise AND operator</a></li>
         
     | 
| 
       2503 
2503 
     | 
    
         
             
            </ul>
         
     | 
| 
       2504 
2504 
     | 
    
         
             
            </li>
         
     | 
| 
       2505 
     | 
    
         
            -
            <li><a class="reference internal" href="#bitwise-or-operator">8. 
     | 
| 
       2506 
     | 
    
         
            -
            <li><a class="reference internal" href="#bitwise-xor-operator">8. 
     | 
| 
       2507 
     | 
    
         
            -
            <li><a class="reference internal" href="#shift-operators">8. 
     | 
| 
       2508 
     | 
    
         
            -
            <li><a class="reference internal" href="#left-shift-operator">8. 
     | 
| 
       2509 
     | 
    
         
            -
            <li><a class="reference internal" href="#signed-right-shift-operator">8. 
     | 
| 
       2510 
     | 
    
         
            -
            <li><a class="reference internal" href="#unsigned-right-shift-operator">8. 
     | 
| 
      
 2505 
     | 
    
         
            +
            <li><a class="reference internal" href="#bitwise-or-operator">8.11.2.6.4. Bitwise OR operator</a></li>
         
     | 
| 
      
 2506 
     | 
    
         
            +
            <li><a class="reference internal" href="#bitwise-xor-operator">8.11.2.6.5. Bitwise XOR operator</a></li>
         
     | 
| 
      
 2507 
     | 
    
         
            +
            <li><a class="reference internal" href="#shift-operators">8.11.2.6.6. Shift operators</a><ul>
         
     | 
| 
      
 2508 
     | 
    
         
            +
            <li><a class="reference internal" href="#left-shift-operator">8.11.2.6.6.1. Left shift operator</a></li>
         
     | 
| 
      
 2509 
     | 
    
         
            +
            <li><a class="reference internal" href="#signed-right-shift-operator">8.11.2.6.6.2. Signed right shift operator</a></li>
         
     | 
| 
      
 2510 
     | 
    
         
            +
            <li><a class="reference internal" href="#unsigned-right-shift-operator">8.11.2.6.6.3. Unsigned right shift operator</a></li>
         
     | 
| 
       2511 
2511 
     | 
    
         
             
            </ul>
         
     | 
| 
       2512 
2512 
     | 
    
         
             
            </li>
         
     | 
| 
       2513 
     | 
    
         
            -
            <li><a class="reference internal" href="#comparison-operators">8. 
     | 
| 
       2514 
     | 
    
         
            -
            <li><a class="reference internal" href="#equal-operator">8. 
     | 
| 
       2515 
     | 
    
         
            -
            <li><a class="reference internal" href="#not-equal-operator">8. 
     | 
| 
       2516 
     | 
    
         
            -
            <li><a class="reference internal" href="#less-than-operator">8. 
     | 
| 
       2517 
     | 
    
         
            -
            <li><a class="reference internal" href="#less-than-or-equal-to-operator">8. 
     | 
| 
       2518 
     | 
    
         
            -
            <li><a class="reference internal" href="#greater-than-operator">8. 
     | 
| 
       2519 
     | 
    
         
            -
            <li><a class="reference internal" href="#greater-than-or-equal-to-operator">8. 
     | 
| 
      
 2513 
     | 
    
         
            +
            <li><a class="reference internal" href="#comparison-operators">8.11.2.6.7. Comparison operators</a><ul>
         
     | 
| 
      
 2514 
     | 
    
         
            +
            <li><a class="reference internal" href="#equal-operator">8.11.2.6.7.1. Equal operator</a></li>
         
     | 
| 
      
 2515 
     | 
    
         
            +
            <li><a class="reference internal" href="#not-equal-operator">8.11.2.6.7.2. Not equal operator</a></li>
         
     | 
| 
      
 2516 
     | 
    
         
            +
            <li><a class="reference internal" href="#less-than-operator">8.11.2.6.7.3. Less than operator</a></li>
         
     | 
| 
      
 2517 
     | 
    
         
            +
            <li><a class="reference internal" href="#less-than-or-equal-to-operator">8.11.2.6.7.4. Less than or equal to operator</a></li>
         
     | 
| 
      
 2518 
     | 
    
         
            +
            <li><a class="reference internal" href="#greater-than-operator">8.11.2.6.7.5. Greater than operator</a></li>
         
     | 
| 
      
 2519 
     | 
    
         
            +
            <li><a class="reference internal" href="#greater-than-or-equal-to-operator">8.11.2.6.7.6. Greater than or equal to operator</a></li>
         
     | 
| 
       2520 
2520 
     | 
    
         
             
            </ul>
         
     | 
| 
       2521 
2521 
     | 
    
         
             
            </li>
         
     | 
| 
       2522 
2522 
     | 
    
         
             
            </ul>
         
     | 
| 
       2523 
2523 
     | 
    
         
             
            </li>
         
     | 
| 
       2524 
     | 
    
         
            -
            <li><a class="reference internal" href="#assignment-operators">8. 
     | 
| 
       2525 
     | 
    
         
            -
            <li><a class="reference internal" href="#addition-assignment-operator">8. 
     | 
| 
       2526 
     | 
    
         
            -
            <li><a class="reference internal" href="#subtraction-assignment-operator">8. 
     | 
| 
       2527 
     | 
    
         
            -
            <li><a class="reference internal" href="#multiplication-assignment-operator">8. 
     | 
| 
       2528 
     | 
    
         
            -
            <li><a class="reference internal" href="#division-assignment-operator">8. 
     | 
| 
       2529 
     | 
    
         
            -
            <li><a class="reference internal" href="#modulo-assignment-operator">8. 
     | 
| 
       2530 
     | 
    
         
            -
            <li><a class="reference internal" href="#bitwise-left-shift-assignment-operator">8. 
     | 
| 
       2531 
     | 
    
         
            -
            <li><a class="reference internal" href="#bitwise-signed-right-shift-assignment-operator">8. 
     | 
| 
       2532 
     | 
    
         
            -
            <li><a class="reference internal" href="#bitwise-unsigned-right-shift-assignment-operator">8. 
     | 
| 
       2533 
     | 
    
         
            -
            <li><a class="reference internal" href="#bitwise-and-assignment-operator">8. 
     | 
| 
       2534 
     | 
    
         
            -
            <li><a class="reference internal" href="#bitwise-or-assignment-operator">8. 
     | 
| 
       2535 
     | 
    
         
            -
            <li><a class="reference internal" href="#bitwise-xor-assignment-operator">8. 
     | 
| 
      
 2524 
     | 
    
         
            +
            <li><a class="reference internal" href="#assignment-operators">8.11.2.7. Assignment operators</a><ul>
         
     | 
| 
      
 2525 
     | 
    
         
            +
            <li><a class="reference internal" href="#addition-assignment-operator">8.11.2.7.1. Addition assignment operator</a></li>
         
     | 
| 
      
 2526 
     | 
    
         
            +
            <li><a class="reference internal" href="#subtraction-assignment-operator">8.11.2.7.2. Subtraction assignment operator</a></li>
         
     | 
| 
      
 2527 
     | 
    
         
            +
            <li><a class="reference internal" href="#multiplication-assignment-operator">8.11.2.7.3. Multiplication assignment operator</a></li>
         
     | 
| 
      
 2528 
     | 
    
         
            +
            <li><a class="reference internal" href="#division-assignment-operator">8.11.2.7.4. Division assignment operator</a></li>
         
     | 
| 
      
 2529 
     | 
    
         
            +
            <li><a class="reference internal" href="#modulo-assignment-operator">8.11.2.7.5. Modulo assignment operator</a></li>
         
     | 
| 
      
 2530 
     | 
    
         
            +
            <li><a class="reference internal" href="#bitwise-left-shift-assignment-operator">8.11.2.7.6. Bitwise left shift assignment operator</a></li>
         
     | 
| 
      
 2531 
     | 
    
         
            +
            <li><a class="reference internal" href="#bitwise-signed-right-shift-assignment-operator">8.11.2.7.7. Bitwise signed right shift assignment operator</a></li>
         
     | 
| 
      
 2532 
     | 
    
         
            +
            <li><a class="reference internal" href="#bitwise-unsigned-right-shift-assignment-operator">8.11.2.7.8. Bitwise unsigned right shift assignment operator</a></li>
         
     | 
| 
      
 2533 
     | 
    
         
            +
            <li><a class="reference internal" href="#bitwise-and-assignment-operator">8.11.2.7.9. Bitwise AND assignment operator</a></li>
         
     | 
| 
      
 2534 
     | 
    
         
            +
            <li><a class="reference internal" href="#bitwise-or-assignment-operator">8.11.2.7.10. Bitwise OR assignment operator</a></li>
         
     | 
| 
      
 2535 
     | 
    
         
            +
            <li><a class="reference internal" href="#bitwise-xor-assignment-operator">8.11.2.7.11. Bitwise XOR assignment operator</a></li>
         
     | 
| 
       2536 
2536 
     | 
    
         
             
            </ul>
         
     | 
| 
       2537 
2537 
     | 
    
         
             
            </li>
         
     | 
| 
       2538 
     | 
    
         
            -
            <li><a class="reference internal" href="#original-operators">8. 
     | 
| 
       2539 
     | 
    
         
            -
            <li><a class="reference internal" href="#match-operator">8. 
     | 
| 
       2540 
     | 
    
         
            -
            <li><a class="reference internal" href="#prefix-search-operator">8. 
     | 
| 
       2541 
     | 
    
         
            -
            <li><a class="reference internal" href="#suffix-search-operator">8. 
     | 
| 
       2542 
     | 
    
         
            -
            <li><a class="reference internal" href="#near-search-operator">8. 
     | 
| 
       2543 
     | 
    
         
            -
            <li><a class="reference internal" href="#similar-search">8. 
     | 
| 
       2544 
     | 
    
         
            -
            <li><a class="reference internal" href="#term-extract-operator">8. 
     | 
| 
      
 2538 
     | 
    
         
            +
            <li><a class="reference internal" href="#original-operators">8.11.2.8. Original operators</a><ul>
         
     | 
| 
      
 2539 
     | 
    
         
            +
            <li><a class="reference internal" href="#match-operator">8.11.2.8.1. Match operator</a></li>
         
     | 
| 
      
 2540 
     | 
    
         
            +
            <li><a class="reference internal" href="#prefix-search-operator">8.11.2.8.2. Prefix search operator</a></li>
         
     | 
| 
      
 2541 
     | 
    
         
            +
            <li><a class="reference internal" href="#suffix-search-operator">8.11.2.8.3. Suffix search operator</a></li>
         
     | 
| 
      
 2542 
     | 
    
         
            +
            <li><a class="reference internal" href="#near-search-operator">8.11.2.8.4. Near search operator</a></li>
         
     | 
| 
      
 2543 
     | 
    
         
            +
            <li><a class="reference internal" href="#similar-search">8.11.2.8.5. Similar search</a></li>
         
     | 
| 
      
 2544 
     | 
    
         
            +
            <li><a class="reference internal" href="#term-extract-operator">8.11.2.8.6. Term extract operator</a></li>
         
     | 
| 
       2545 
2545 
     | 
    
         
             
            </ul>
         
     | 
| 
       2546 
2546 
     | 
    
         
             
            </li>
         
     | 
| 
       2547 
2547 
     | 
    
         
             
            </ul>
         
     | 
| 
         @@ -2550,10 +2550,10 @@ are also normalized.</p> 
     | 
|
| 
       2550 
2550 
     | 
    
         | 
| 
       2551 
2551 
     | 
    
         
             
              <h4>Previous topic</h4>
         
     | 
| 
       2552 
2552 
     | 
    
         
             
              <p class="topless"><a href="query_syntax.html"
         
     | 
| 
       2553 
     | 
    
         
            -
                                    title="previous chapter">8. 
     | 
| 
      
 2553 
     | 
    
         
            +
                                    title="previous chapter">8.11.1. Query syntax</a></p>
         
     | 
| 
       2554 
2554 
     | 
    
         
             
              <h4>Next topic</h4>
         
     | 
| 
       2555 
2555 
     | 
    
         
             
              <p class="topless"><a href="../function.html"
         
     | 
| 
       2556 
     | 
    
         
            -
                                    title="next chapter">8. 
     | 
| 
      
 2556 
     | 
    
         
            +
                                    title="next chapter">8.12. Function</a></p>
         
     | 
| 
       2557 
2557 
     | 
    
         
             
              <div role="note" aria-label="source link">
         
     | 
| 
       2558 
2558 
     | 
    
         
             
                <h3>This Page</h3>
         
     | 
| 
       2559 
2559 
     | 
    
         
             
                <ul class="this-page-menu">
         
     | 
| 
         @@ -2585,14 +2585,14 @@ are also normalized.</p> 
     | 
|
| 
       2585 
2585 
     | 
    
         
             
                      <a href="../../genindex.html" title="General Index"
         
     | 
| 
       2586 
2586 
     | 
    
         
             
                         >index</a></li>
         
     | 
| 
       2587 
2587 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       2588 
     | 
    
         
            -
                      <a href="../function.html" title="8. 
     | 
| 
      
 2588 
     | 
    
         
            +
                      <a href="../function.html" title="8.12. Function"
         
     | 
| 
       2589 
2589 
     | 
    
         
             
                         >next</a> |</li>
         
     | 
| 
       2590 
2590 
     | 
    
         
             
                    <li class="right" >
         
     | 
| 
       2591 
     | 
    
         
            -
                      <a href="query_syntax.html" title="8. 
     | 
| 
      
 2591 
     | 
    
         
            +
                      <a href="query_syntax.html" title="8.11.1. Query syntax"
         
     | 
| 
       2592 
2592 
     | 
    
         
             
                         >previous</a> |</li>
         
     | 
| 
       2593 
     | 
    
         
            -
                    <li><a href="../../index.html">Groonga  
     | 
| 
       2594 
     | 
    
         
            -
                      <li><a href="../../reference.html" >8.  
     | 
| 
       2595 
     | 
    
         
            -
                      <li><a href="../grn_expr.html" >8. 
     | 
| 
      
 2593 
     | 
    
         
            +
                    <li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
         
     | 
| 
      
 2594 
     | 
    
         
            +
                      <li><a href="../../reference.html" >8. Reference manual</a> »</li>
         
     | 
| 
      
 2595 
     | 
    
         
            +
                      <li><a href="../grn_expr.html" >8.11. grn_expr</a> »</li> 
         
     | 
| 
       2596 
2596 
     | 
    
         
             
                  </ul>
         
     | 
| 
       2597 
2597 
     | 
    
         
             
                </div>
         
     | 
| 
       2598 
2598 
     | 
    
         
             
                <div class="footer" role="contentinfo">
         
     |