rroonga 4.0.5-x64-mingw32 → 4.0.6-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.yardopts +1 -1
- data/benchmark/common.rb +4 -4
- data/benchmark/create-wikipedia-database.rb +5 -5
- data/benchmark/read-write-many-small-items.rb +8 -8
- data/benchmark/repeat-load.rb +4 -4
- data/benchmark/select.rb +9 -9
- data/benchmark/write-many-small-items.rb +8 -8
- data/doc/images/sample-schema.png +0 -0
- data/doc/text/install.textile +2 -2
- data/doc/text/news.textile +41 -0
- data/doc/text/tutorial.textile +4 -4
- data/example/bookmark.rb +6 -7
- data/example/index-html.rb +6 -6
- data/ext/groonga/extconf.rb +23 -1
- data/ext/groonga/rb-grn-column.c +3 -2
- data/ext/groonga/rb-grn-context.c +20 -3
- data/ext/groonga/rb-grn-double-array-trie.c +11 -2
- data/ext/groonga/rb-grn-exception.c +28 -10
- data/ext/groonga/rb-grn-expression.c +78 -0
- data/ext/groonga/rb-grn-hash.c +10 -0
- data/ext/groonga/rb-grn-logger.c +7 -3
- data/ext/groonga/rb-grn-object.c +3 -2
- data/ext/groonga/rb-grn-patricia-trie.c +23 -20
- data/ext/groonga/rb-grn-table-key-support.c +92 -1
- data/ext/groonga/rb-grn-table.c +60 -17
- data/ext/groonga/rb-grn-utils.c +51 -2
- data/ext/groonga/rb-grn-variable-size-column.c +11 -7
- data/ext/groonga/rb-grn.h +11 -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 +23 -1
- data/lib/groonga/patricia-trie.rb +1 -1
- data/lib/groonga/schema.rb +190 -205
- data/misc/grnop2ruby.rb +1 -1
- data/rroonga-build.rb +3 -3
- data/rroonga.gemspec +1 -0
- data/test/groonga-test-utils.rb +2 -2
- data/test/test-column.rb +19 -0
- data/test/test-context.rb +5 -1
- data/test/test-double-array-trie.rb +19 -0
- data/test/test-exception.rb +7 -2
- data/test/test-expression.rb +19 -0
- data/test/test-fix-size-column.rb +49 -36
- data/test/test-hash.rb +22 -0
- data/test/test-patricia-trie.rb +26 -7
- data/test/test-schema-dumper.rb +65 -1
- data/test/test-schema.rb +13 -2
- data/test/test-variable-size-column.rb +6 -5
- 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/libonig-5.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/bin/onig-config +0 -0
- data/vendor/local/include/groonga/groonga.h +21 -6
- data/vendor/local/include/groonga/groonga/token_filter.h +71 -0
- data/vendor/local/include/groonga/groonga/tokenizer.h +33 -1
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +2 -2
- data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/eval.la +1 -1
- data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/ruby/load.la +1 -1
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +2 -2
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +2 -2
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +41 -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/groonga/plugins/tokenizers/mecab.la +2 -2
- data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +1 -1
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +7 -2
- data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +2 -1
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +2 -2
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/libonig.a +0 -0
- data/vendor/local/lib/libonig.dll.a +0 -0
- data/vendor/local/lib/libonig.la +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/sbin/groonga-httpd-restart +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/client.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +1 -2
- 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 +6 -6
- 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 +68 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/client.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +105 -105
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/genindex.html +23 -7
- data/vendor/local/share/doc/groonga/en/html/index.html +215 -230
- 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 +11 -11
- 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 +21 -21
- data/vendor/local/share/doc/groonga/en/html/news.html +129 -59
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +6 -6
- 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 +154 -135
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +40 -39
- 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 +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +74 -27
- 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 +79 -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 +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -51
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +62 -52
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +55 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +30 -30
- 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/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +34 -34
- 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 +37 -37
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +23 -23
- 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 +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/en/html/{geolocation_search.html → reference/operations/geolocation_search.html} +39 -34
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/{suggest.html → reference/suggest.html} +50 -48
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/completion.html +51 -49
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/correction.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/introduction.html +43 -41
- data/vendor/local/share/doc/groonga/en/html/{suggest → reference/suggest}/suggestion.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +30 -30
- 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 +24 -24
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/server/http.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +42 -42
- data/vendor/local/share/doc/groonga/en/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- 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 +5 -5
- 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 +5 -5
- 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 +10 -10
- 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/client.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +1 -2
- 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 +6 -6
- 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 +68 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_ctx.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +46 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +15 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +23 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/operations.txt +14 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{geolocation_search.txt → reference/operations/geolocation_search.txt} +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest.txt +0 -1
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/completion.txt +6 -6
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/correction.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{suggest → reference/suggest}/introduction.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +9404 -2
- data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +1415 -31
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/client.html +132 -0
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +86 -86
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +66 -66
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +109 -109
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +27 -11
- data/vendor/local/share/doc/groonga/ja/html/index.html +215 -230
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +10 -10
- 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 +13 -13
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/news.html +131 -63
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +6 -6
- 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 +154 -135
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +40 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +74 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +79 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +98 -98
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +62 -53
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +54 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +68 -68
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +50 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +54 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +46 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +64 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +143 -143
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/{suggest/tutorial.html → reference/operations.html} +31 -23
- data/vendor/local/share/doc/groonga/ja/html/{geolocation_search.html → reference/operations/geolocation_search.html} +40 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/{suggest.html → reference/suggest.html} +51 -49
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/completion.html +52 -50
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/correction.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/introduction.html +44 -42
- data/vendor/local/share/doc/groonga/ja/html/{suggest → reference/suggest}/suggestion.html +48 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +30 -30
- 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 +24 -24
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +33 -33
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/spec.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +4911 -4427
- data/vendor/local/share/man/man1/groonga.1 +9023 -8517
- metadata +117 -109
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/tutorial.txt +0 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/tutorial.txt +0 -8
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>
|
10
|
+
<title>7.11.2. Script syntax — Groonga v4.0.6-211-g8c0bb0b documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.6-211-g8c0bb0b',
|
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 v4.0.
|
29
|
-
<link rel="up" title="
|
30
|
-
<link rel="next" title="
|
31
|
-
<link rel="prev" title="
|
28
|
+
<link rel="top" title="Groonga v4.0.6-211-g8c0bb0b documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="7.11. grn_expr" href="../grn_expr.html" />
|
30
|
+
<link rel="next" title="7.12. Function" href="../function.html" />
|
31
|
+
<link rel="prev" title="7.11.1. Query syntax" href="query_syntax.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
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="
|
58
|
+
<a href="../function.html" title="7.12. Function"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="query_syntax.html" title="
|
61
|
+
<a href="query_syntax.html" title="7.11.1. Query syntax"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.
|
64
|
-
<li><a href="../../reference.html" >
|
65
|
-
<li><a href="../grn_expr.html" accesskey="U">
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
64
|
+
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
65
|
+
<li><a href="../grn_expr.html" accesskey="U">7.11. grn_expr</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,7 +72,7 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="script-syntax">
|
75
|
-
<h1>
|
75
|
+
<h1>7.11.2. Script syntax<a class="headerlink" href="#script-syntax" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<p>Script syntax is a syntax to specify complex search condition. It is
|
77
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>
|
89
|
+
<h2>7.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>
|
135
|
+
<h2>7.11.2.2. Literals<a class="headerlink" href="#literals" title="Permalink to this headline">¶</a></h2>
|
136
136
|
<div class="section" id="integer">
|
137
|
-
<h3>
|
137
|
+
<h3>7.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>
|
147
|
+
<h3>7.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>
|
155
|
+
<h3>7.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>
|
165
|
+
<h3>7.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>
|
170
|
+
<h3>7.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>
|
175
|
+
<h3>7.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>
|
197
|
+
<h3>7.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>
|
216
|
+
<h3>7.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>
|
220
|
+
<h3>7.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>
|
226
|
+
<h2>7.11.2.3. Control syntaxes<a class="headerlink" href="#control-syntaxes" title="Permalink to this headline">¶</a></h2>
|
227
227
|
<p>Script syntax doesn't support statement. So you cannot use control
|
228
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>
|
291
|
+
<h2>7.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>
|
399
|
+
<h2>7.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>
|
461
|
+
<h2>7.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>
|
464
|
+
<h3>7.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>
|
467
|
+
<h4>7.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>
|
517
|
+
<h4>7.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>
|
567
|
+
<h4>7.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>
|
617
|
+
<h4>7.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>
|
719
|
+
<h3>7.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>
|
722
|
+
<h4>7.11.2.6.2.1. Logical NOT operator<a class="headerlink" href="#logical-not-operator" title="Permalink to this headline">¶</a></h4>
|
723
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>
|
790
|
+
<h4>7.11.2.6.2.2. Logical AND operator<a class="headerlink" href="#logical-and-operator" title="Permalink to this headline">¶</a></h4>
|
791
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>
|
848
|
+
<h4>7.11.2.6.2.3. Logical OR operator<a class="headerlink" href="#logical-or-operator" title="Permalink to this headline">¶</a></h4>
|
849
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>
|
905
|
+
<h4>7.11.2.6.2.4. Logical AND NOT operator<a class="headerlink" href="#logical-and-not-operator" title="Permalink to this headline">¶</a></h4>
|
906
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>
|
957
|
+
<h3>7.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>
|
960
|
+
<h4>7.11.2.6.3.1. Bitwise NOT operator<a class="headerlink" href="#bitwise-not-operator" title="Permalink to this headline">¶</a></h4>
|
961
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>
|
1010
|
+
<h4>7.11.2.6.3.2. Bitwise AND operator<a class="headerlink" href="#bitwise-and-operator" title="Permalink to this headline">¶</a></h4>
|
1011
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>
|
1081
|
+
<h3>7.11.2.6.4. Bitwise OR operator<a class="headerlink" href="#bitwise-or-operator" title="Permalink to this headline">¶</a></h3>
|
1082
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>
|
1131
|
+
<h3>7.11.2.6.5. Bitwise XOR operator<a class="headerlink" href="#bitwise-xor-operator" title="Permalink to this headline">¶</a></h3>
|
1132
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>
|
1181
|
+
<h3>7.11.2.6.6. Shift operators<a class="headerlink" href="#shift-operators" title="Permalink to this headline">¶</a></h3>
|
1182
1182
|
<p>Here are shift operators.</p>
|
1183
1183
|
<div class="section" id="left-shift-operator">
|
1184
|
-
<h4>
|
1184
|
+
<h4>7.11.2.6.6.1. Left shift operator<a class="headerlink" href="#left-shift-operator" title="Permalink to this headline">¶</a></h4>
|
1185
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>
|
1235
|
+
<h4>7.11.2.6.6.2. Signed right shift operator<a class="headerlink" href="#signed-right-shift-operator" title="Permalink to this headline">¶</a></h4>
|
1236
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>
|
1286
|
+
<h4>7.11.2.6.6.3. Unsigned right shift operator<a class="headerlink" href="#unsigned-right-shift-operator" title="Permalink to this headline">¶</a></h4>
|
1287
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>
|
1338
|
+
<h3>7.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>
|
1341
|
+
<h4>7.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>
|
1392
|
+
<h4>7.11.2.6.7.2. Not equal operator<a class="headerlink" href="#not-equal-operator" title="Permalink to this headline">¶</a></h4>
|
1393
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>
|
1461
|
+
<h4>7.11.2.6.7.3. Less than operator<a class="headerlink" href="#less-than-operator" title="Permalink to this headline">¶</a></h4>
|
1462
1462
|
<p>TODO: ...</p>
|
1463
1463
|
</div>
|
1464
1464
|
<div class="section" id="less-than-or-equal-to-operator">
|
1465
|
-
<h4>
|
1465
|
+
<h4>7.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>
|
1469
|
+
<h4>7.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>
|
1473
|
+
<h4>7.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>
|
1479
|
+
<h2>7.11.2.7. Assignment operators<a class="headerlink" href="#assignment-operators" title="Permalink to this headline">¶</a></h2>
|
1480
1480
|
<div class="section" id="addition-assignment-operator">
|
1481
|
-
<h3>
|
1481
|
+
<h3>7.11.2.7.1. Addition assignment operator<a class="headerlink" href="#addition-assignment-operator" title="Permalink to this headline">¶</a></h3>
|
1482
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>
|
1548
|
+
<h3>7.11.2.7.2. Subtraction assignment operator<a class="headerlink" href="#subtraction-assignment-operator" title="Permalink to this headline">¶</a></h3>
|
1549
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>
|
1615
|
+
<h3>7.11.2.7.3. Multiplication assignment operator<a class="headerlink" href="#multiplication-assignment-operator" title="Permalink to this headline">¶</a></h3>
|
1616
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>
|
1682
|
+
<h3>7.11.2.7.4. Division assignment operator<a class="headerlink" href="#division-assignment-operator" title="Permalink to this headline">¶</a></h3>
|
1683
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>
|
1749
|
+
<h3>7.11.2.7.5. Modulo assignment operator<a class="headerlink" href="#modulo-assignment-operator" title="Permalink to this headline">¶</a></h3>
|
1750
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>
|
1816
|
+
<h3>7.11.2.7.6. Bitwise left shift assignment operator<a class="headerlink" href="#bitwise-left-shift-assignment-operator" title="Permalink to this headline">¶</a></h3>
|
1817
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>
|
1883
|
+
<h3>7.11.2.7.7. Bitwise signed right shift assignment operator<a class="headerlink" href="#bitwise-signed-right-shift-assignment-operator" title="Permalink to this headline">¶</a></h3>
|
1884
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>
|
1888
|
+
<h3>7.11.2.7.8. Bitwise unsigned right shift assignment operator<a class="headerlink" href="#bitwise-unsigned-right-shift-assignment-operator" title="Permalink to this headline">¶</a></h3>
|
1889
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>
|
1893
|
+
<h3>7.11.2.7.9. Bitwise AND assignment operator<a class="headerlink" href="#bitwise-and-assignment-operator" title="Permalink to this headline">¶</a></h3>
|
1894
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>
|
1960
|
+
<h3>7.11.2.7.10. Bitwise OR assignment operator<a class="headerlink" href="#bitwise-or-assignment-operator" title="Permalink to this headline">¶</a></h3>
|
1961
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>
|
2027
|
+
<h3>7.11.2.7.11. Bitwise XOR assignment operator<a class="headerlink" href="#bitwise-xor-assignment-operator" title="Permalink to this headline">¶</a></h3>
|
2028
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>
|
2095
|
+
<h2>7.11.2.8. Original operators<a class="headerlink" href="#original-operators" title="Permalink to this headline">¶</a></h2>
|
2096
2096
|
<p>Script syntax adds the original binary opearators to ECMAScript
|
2097
2097
|
syntax. They operate search specific operations. They are starts with
|
2098
2098
|
<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>
|
2100
|
+
<span id="match-oeprator"></span><h3>7.11.2.8.1. Match operator<a class="headerlink" href="#match-operator" title="Permalink to this headline">¶</a></h3>
|
2101
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>
|
2141
|
+
<span id="id1"></span><h3>7.11.2.8.2. Prefix search operator<a class="headerlink" href="#prefix-search-operator" title="Permalink to this headline">¶</a></h3>
|
2142
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>
|
2190
|
+
<span id="id2"></span><h3>7.11.2.8.3. Suffix search operator<a class="headerlink" href="#suffix-search-operator" title="Permalink to this headline">¶</a></h3>
|
2191
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>
|
2273
|
+
<span id="id3"></span><h3>7.11.2.8.4. Near search operator<a class="headerlink" href="#near-search-operator" title="Permalink to this headline">¶</a></h3>
|
2274
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>
|
2358
|
+
<span id="similar-search-operator"></span><h3>7.11.2.8.5. Similar search<a class="headerlink" href="#similar-search" title="Permalink to this headline">¶</a></h3>
|
2359
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>
|
2401
|
+
<span id="id4"></span><h3>7.11.2.8.6. Term extract operator<a class="headerlink" href="#term-extract-operator" title="Permalink to this headline">¶</a></h3>
|
2402
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="#">
|
2469
|
-
<li><a class="reference internal" href="#sample-data">
|
2470
|
-
<li><a class="reference internal" href="#literals">
|
2471
|
-
<li><a class="reference internal" href="#integer">
|
2472
|
-
<li><a class="reference internal" href="#float">
|
2473
|
-
<li><a class="reference internal" href="#string">
|
2474
|
-
<li><a class="reference internal" href="#boolean">
|
2475
|
-
<li><a class="reference internal" href="#null">
|
2476
|
-
<li><a class="reference internal" href="#time">
|
2477
|
-
<li><a class="reference internal" href="#geo-point">
|
2478
|
-
<li><a class="reference internal" href="#array">
|
2479
|
-
<li><a class="reference internal" href="#object-literal">
|
2468
|
+
<li><a class="reference internal" href="#">7.11.2. Script syntax</a><ul>
|
2469
|
+
<li><a class="reference internal" href="#sample-data">7.11.2.1. Sample data</a></li>
|
2470
|
+
<li><a class="reference internal" href="#literals">7.11.2.2. Literals</a><ul>
|
2471
|
+
<li><a class="reference internal" href="#integer">7.11.2.2.1. Integer</a></li>
|
2472
|
+
<li><a class="reference internal" href="#float">7.11.2.2.2. Float</a></li>
|
2473
|
+
<li><a class="reference internal" href="#string">7.11.2.2.3. String</a></li>
|
2474
|
+
<li><a class="reference internal" href="#boolean">7.11.2.2.4. Boolean</a></li>
|
2475
|
+
<li><a class="reference internal" href="#null">7.11.2.2.5. Null</a></li>
|
2476
|
+
<li><a class="reference internal" href="#time">7.11.2.2.6. Time</a></li>
|
2477
|
+
<li><a class="reference internal" href="#geo-point">7.11.2.2.7. Geo point</a></li>
|
2478
|
+
<li><a class="reference internal" href="#array">7.11.2.2.8. Array</a></li>
|
2479
|
+
<li><a class="reference internal" href="#object-literal">7.11.2.2.9. Object literal</a></li>
|
2480
2480
|
</ul>
|
2481
2481
|
</li>
|
2482
|
-
<li><a class="reference internal" href="#control-syntaxes">
|
2483
|
-
<li><a class="reference internal" href="#grouping">
|
2484
|
-
<li><a class="reference internal" href="#function-call">
|
2485
|
-
<li><a class="reference internal" href="#basic-operators">
|
2486
|
-
<li><a class="reference internal" href="#arithmetic-operators">
|
2487
|
-
<li><a class="reference internal" href="#addition-operator">
|
2488
|
-
<li><a class="reference internal" href="#subtraction-operator">
|
2489
|
-
<li><a class="reference internal" href="#multiplication-operator">
|
2490
|
-
<li><a class="reference internal" href="#division-operator">
|
2482
|
+
<li><a class="reference internal" href="#control-syntaxes">7.11.2.3. Control syntaxes</a></li>
|
2483
|
+
<li><a class="reference internal" href="#grouping">7.11.2.4. Grouping</a></li>
|
2484
|
+
<li><a class="reference internal" href="#function-call">7.11.2.5. Function call</a></li>
|
2485
|
+
<li><a class="reference internal" href="#basic-operators">7.11.2.6. Basic operators</a><ul>
|
2486
|
+
<li><a class="reference internal" href="#arithmetic-operators">7.11.2.6.1. Arithmetic operators</a><ul>
|
2487
|
+
<li><a class="reference internal" href="#addition-operator">7.11.2.6.1.1. Addition operator</a></li>
|
2488
|
+
<li><a class="reference internal" href="#subtraction-operator">7.11.2.6.1.2. Subtraction operator</a></li>
|
2489
|
+
<li><a class="reference internal" href="#multiplication-operator">7.11.2.6.1.3. Multiplication operator</a></li>
|
2490
|
+
<li><a class="reference internal" href="#division-operator">7.11.2.6.1.4. Division operator</a></li>
|
2491
2491
|
</ul>
|
2492
2492
|
</li>
|
2493
|
-
<li><a class="reference internal" href="#logical-operators">
|
2494
|
-
<li><a class="reference internal" href="#logical-not-operator">
|
2495
|
-
<li><a class="reference internal" href="#logical-and-operator">
|
2496
|
-
<li><a class="reference internal" href="#logical-or-operator">
|
2497
|
-
<li><a class="reference internal" href="#logical-and-not-operator">
|
2493
|
+
<li><a class="reference internal" href="#logical-operators">7.11.2.6.2. Logical operators</a><ul>
|
2494
|
+
<li><a class="reference internal" href="#logical-not-operator">7.11.2.6.2.1. Logical NOT operator</a></li>
|
2495
|
+
<li><a class="reference internal" href="#logical-and-operator">7.11.2.6.2.2. Logical AND operator</a></li>
|
2496
|
+
<li><a class="reference internal" href="#logical-or-operator">7.11.2.6.2.3. Logical OR operator</a></li>
|
2497
|
+
<li><a class="reference internal" href="#logical-and-not-operator">7.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">
|
2501
|
-
<li><a class="reference internal" href="#bitwise-not-operator">
|
2502
|
-
<li><a class="reference internal" href="#bitwise-and-operator">
|
2500
|
+
<li><a class="reference internal" href="#bitwise-operators">7.11.2.6.3. Bitwise operators</a><ul>
|
2501
|
+
<li><a class="reference internal" href="#bitwise-not-operator">7.11.2.6.3.1. Bitwise NOT operator</a></li>
|
2502
|
+
<li><a class="reference internal" href="#bitwise-and-operator">7.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">
|
2506
|
-
<li><a class="reference internal" href="#bitwise-xor-operator">
|
2507
|
-
<li><a class="reference internal" href="#shift-operators">
|
2508
|
-
<li><a class="reference internal" href="#left-shift-operator">
|
2509
|
-
<li><a class="reference internal" href="#signed-right-shift-operator">
|
2510
|
-
<li><a class="reference internal" href="#unsigned-right-shift-operator">
|
2505
|
+
<li><a class="reference internal" href="#bitwise-or-operator">7.11.2.6.4. Bitwise OR operator</a></li>
|
2506
|
+
<li><a class="reference internal" href="#bitwise-xor-operator">7.11.2.6.5. Bitwise XOR operator</a></li>
|
2507
|
+
<li><a class="reference internal" href="#shift-operators">7.11.2.6.6. Shift operators</a><ul>
|
2508
|
+
<li><a class="reference internal" href="#left-shift-operator">7.11.2.6.6.1. Left shift operator</a></li>
|
2509
|
+
<li><a class="reference internal" href="#signed-right-shift-operator">7.11.2.6.6.2. Signed right shift operator</a></li>
|
2510
|
+
<li><a class="reference internal" href="#unsigned-right-shift-operator">7.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">
|
2514
|
-
<li><a class="reference internal" href="#equal-operator">
|
2515
|
-
<li><a class="reference internal" href="#not-equal-operator">
|
2516
|
-
<li><a class="reference internal" href="#less-than-operator">
|
2517
|
-
<li><a class="reference internal" href="#less-than-or-equal-to-operator">
|
2518
|
-
<li><a class="reference internal" href="#greater-than-operator">
|
2519
|
-
<li><a class="reference internal" href="#greater-than-or-equal-to-operator">
|
2513
|
+
<li><a class="reference internal" href="#comparison-operators">7.11.2.6.7. Comparison operators</a><ul>
|
2514
|
+
<li><a class="reference internal" href="#equal-operator">7.11.2.6.7.1. Equal operator</a></li>
|
2515
|
+
<li><a class="reference internal" href="#not-equal-operator">7.11.2.6.7.2. Not equal operator</a></li>
|
2516
|
+
<li><a class="reference internal" href="#less-than-operator">7.11.2.6.7.3. Less than operator</a></li>
|
2517
|
+
<li><a class="reference internal" href="#less-than-or-equal-to-operator">7.11.2.6.7.4. Less than or equal to operator</a></li>
|
2518
|
+
<li><a class="reference internal" href="#greater-than-operator">7.11.2.6.7.5. Greater than operator</a></li>
|
2519
|
+
<li><a class="reference internal" href="#greater-than-or-equal-to-operator">7.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">
|
2525
|
-
<li><a class="reference internal" href="#addition-assignment-operator">
|
2526
|
-
<li><a class="reference internal" href="#subtraction-assignment-operator">
|
2527
|
-
<li><a class="reference internal" href="#multiplication-assignment-operator">
|
2528
|
-
<li><a class="reference internal" href="#division-assignment-operator">
|
2529
|
-
<li><a class="reference internal" href="#modulo-assignment-operator">
|
2530
|
-
<li><a class="reference internal" href="#bitwise-left-shift-assignment-operator">
|
2531
|
-
<li><a class="reference internal" href="#bitwise-signed-right-shift-assignment-operator">
|
2532
|
-
<li><a class="reference internal" href="#bitwise-unsigned-right-shift-assignment-operator">
|
2533
|
-
<li><a class="reference internal" href="#bitwise-and-assignment-operator">
|
2534
|
-
<li><a class="reference internal" href="#bitwise-or-assignment-operator">
|
2535
|
-
<li><a class="reference internal" href="#bitwise-xor-assignment-operator">
|
2524
|
+
<li><a class="reference internal" href="#assignment-operators">7.11.2.7. Assignment operators</a><ul>
|
2525
|
+
<li><a class="reference internal" href="#addition-assignment-operator">7.11.2.7.1. Addition assignment operator</a></li>
|
2526
|
+
<li><a class="reference internal" href="#subtraction-assignment-operator">7.11.2.7.2. Subtraction assignment operator</a></li>
|
2527
|
+
<li><a class="reference internal" href="#multiplication-assignment-operator">7.11.2.7.3. Multiplication assignment operator</a></li>
|
2528
|
+
<li><a class="reference internal" href="#division-assignment-operator">7.11.2.7.4. Division assignment operator</a></li>
|
2529
|
+
<li><a class="reference internal" href="#modulo-assignment-operator">7.11.2.7.5. Modulo assignment operator</a></li>
|
2530
|
+
<li><a class="reference internal" href="#bitwise-left-shift-assignment-operator">7.11.2.7.6. Bitwise left shift assignment operator</a></li>
|
2531
|
+
<li><a class="reference internal" href="#bitwise-signed-right-shift-assignment-operator">7.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">7.11.2.7.8. Bitwise unsigned right shift assignment operator</a></li>
|
2533
|
+
<li><a class="reference internal" href="#bitwise-and-assignment-operator">7.11.2.7.9. Bitwise AND assignment operator</a></li>
|
2534
|
+
<li><a class="reference internal" href="#bitwise-or-assignment-operator">7.11.2.7.10. Bitwise OR assignment operator</a></li>
|
2535
|
+
<li><a class="reference internal" href="#bitwise-xor-assignment-operator">7.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">
|
2539
|
-
<li><a class="reference internal" href="#match-operator">
|
2540
|
-
<li><a class="reference internal" href="#prefix-search-operator">
|
2541
|
-
<li><a class="reference internal" href="#suffix-search-operator">
|
2542
|
-
<li><a class="reference internal" href="#near-search-operator">
|
2543
|
-
<li><a class="reference internal" href="#similar-search">
|
2544
|
-
<li><a class="reference internal" href="#term-extract-operator">
|
2538
|
+
<li><a class="reference internal" href="#original-operators">7.11.2.8. Original operators</a><ul>
|
2539
|
+
<li><a class="reference internal" href="#match-operator">7.11.2.8.1. Match operator</a></li>
|
2540
|
+
<li><a class="reference internal" href="#prefix-search-operator">7.11.2.8.2. Prefix search operator</a></li>
|
2541
|
+
<li><a class="reference internal" href="#suffix-search-operator">7.11.2.8.3. Suffix search operator</a></li>
|
2542
|
+
<li><a class="reference internal" href="#near-search-operator">7.11.2.8.4. Near search operator</a></li>
|
2543
|
+
<li><a class="reference internal" href="#similar-search">7.11.2.8.5. Similar search</a></li>
|
2544
|
+
<li><a class="reference internal" href="#term-extract-operator">7.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">
|
2553
|
+
title="previous chapter">7.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">
|
2556
|
+
title="next chapter">7.12. Function</a></p>
|
2557
2557
|
<h3>This Page</h3>
|
2558
2558
|
<ul class="this-page-menu">
|
2559
2559
|
<li><a href="../../_sources/reference/grn_expr/script_syntax.txt"
|
@@ -2583,14 +2583,14 @@ are also normalized.</p>
|
|
2583
2583
|
<a href="../../genindex.html" title="General Index"
|
2584
2584
|
>index</a></li>
|
2585
2585
|
<li class="right" >
|
2586
|
-
<a href="../function.html" title="
|
2586
|
+
<a href="../function.html" title="7.12. Function"
|
2587
2587
|
>next</a> |</li>
|
2588
2588
|
<li class="right" >
|
2589
|
-
<a href="query_syntax.html" title="
|
2589
|
+
<a href="query_syntax.html" title="7.11.1. Query syntax"
|
2590
2590
|
>previous</a> |</li>
|
2591
|
-
<li><a href="../../index.html">Groonga v4.0.
|
2592
|
-
<li><a href="../../reference.html" >
|
2593
|
-
<li><a href="../grn_expr.html" >
|
2591
|
+
<li><a href="../../index.html">Groonga v4.0.6-211-g8c0bb0b documentation</a> »</li>
|
2592
|
+
<li><a href="../../reference.html" >7. Reference manual</a> »</li>
|
2593
|
+
<li><a href="../grn_expr.html" >7.11. grn_expr</a> »</li>
|
2594
2594
|
</ul>
|
2595
2595
|
</div>
|
2596
2596
|
<div class="footer">
|