rroonga 2.1.0-x86-mingw32 → 2.1.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/text/news.textile +7 -0
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/rroonga-build.rb +1 -1
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga.h +0 -6
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/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 +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +24 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +234 -64
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-server-http.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +9 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +122 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +163 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/{type.txt → types.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +12 -0
- data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +3 -3
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/index.html +54 -39
- data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/others.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news.html +131 -109
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +54 -39
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +7 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +255 -96
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +42 -50
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/view_add.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +15 -8
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +30 -30
- 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 +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +60 -60
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +117 -117
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +288 -0
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +367 -0
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/reference/{type.html → types.html} +12 -12
- data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +9 -9
- 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 +9 -9
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +24 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +234 -64
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-server-http.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +122 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +163 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{type.txt → types.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +12 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +54 -39
- data/vendor/local/share/doc/groonga/ja/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +124 -106
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +54 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +202 -96
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +42 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/view_add.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +15 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +50 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +60 -60
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +117 -117
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +367 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/reference/{type.html → types.html} +12 -12
- data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +9 -9
- 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 +9 -9
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/source/example/reference/commands/status.log +4 -4
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/data_store_table_no_key.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/lexicon_table_pat_key.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_create/tag_index_table_hash_key.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +36 -44
- data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +4 -4
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-load.log +46 -0
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/example-table-create.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-auto.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/normalizers/normalizer-nfkc51.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +3 -3
- data/vendor/local/share/doc/groonga/source/news.txt +24 -4
- data/vendor/local/share/doc/groonga/source/reference.txt +3 -1
- data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/source/reference/commands/table_create.txt +234 -64
- data/vendor/local/share/doc/groonga/source/reference/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga-server-http.txt +1 -1
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga.txt +9 -0
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +2 -2
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +1 -1
- data/vendor/local/share/doc/groonga/source/reference/normalizers.txt +122 -0
- data/vendor/local/share/doc/groonga/source/reference/tables.txt +163 -0
- data/vendor/local/share/doc/groonga/source/reference/{type.txt → types.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/source/tutorial/data.txt +4 -4
- data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +1 -1
- data/vendor/local/share/man/ja/man1/groonga.1 +744 -169
- data/vendor/local/share/man/man1/groonga.1 +794 -165
- data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
- data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
- metadata +1257 -1240
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>8.
|
12
|
+
<title>8.10.1. Query syntax — groonga v2.1.0-26-ge48bfb0 documentation</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '../../',
|
20
|
-
VERSION: '2.1.0',
|
20
|
+
VERSION: '2.1.0-26-ge48bfb0',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,10 +27,10 @@
|
|
27
27
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v2.1.0 documentation" href="../../index.html" />
|
31
|
-
<link rel="up" title="8.
|
32
|
-
<link rel="next" title="8.
|
33
|
-
<link rel="prev" title="8.
|
30
|
+
<link rel="top" title="groonga v2.1.0-26-ge48bfb0 documentation" href="../../index.html" />
|
31
|
+
<link rel="up" title="8.10. grn_expr" href="../grn_expr.html" />
|
32
|
+
<link rel="next" title="8.10.2. Script syntax" href="script_syntax.html" />
|
33
|
+
<link rel="prev" title="8.10. grn_expr" href="../grn_expr.html" />
|
34
34
|
</head>
|
35
35
|
<body>
|
36
36
|
<div class="header">
|
@@ -57,14 +57,14 @@
|
|
57
57
|
<a href="../../genindex.html" title="General Index"
|
58
58
|
accesskey="I">index</a></li>
|
59
59
|
<li class="right" >
|
60
|
-
<a href="script_syntax.html" title="8.
|
60
|
+
<a href="script_syntax.html" title="8.10.2. Script syntax"
|
61
61
|
accesskey="N">next</a> |</li>
|
62
62
|
<li class="right" >
|
63
|
-
<a href="../grn_expr.html" title="8.
|
63
|
+
<a href="../grn_expr.html" title="8.10. grn_expr"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../../index.html">groonga v2.1.0 documentation</a> »</li>
|
65
|
+
<li><a href="../../index.html">groonga v2.1.0-26-ge48bfb0 documentation</a> »</li>
|
66
66
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
67
|
-
<li><a href="../grn_expr.html" accesskey="U">8.
|
67
|
+
<li><a href="../grn_expr.html" accesskey="U">8.10. grn_expr</a> »</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
70
70
|
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<div class="body">
|
75
75
|
|
76
76
|
<div class="section" id="query-syntax">
|
77
|
-
<h1>8.
|
77
|
+
<h1>8.10.1. Query syntax<a class="headerlink" href="#query-syntax" title="Permalink to this headline">¶</a></h1>
|
78
78
|
<p>Query syntax is a syntax to specify search condition for common Web
|
79
79
|
search form. It is similar to the syntax of Google's search form. For
|
80
80
|
example, <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></tt> means that groonga searches records that
|
@@ -91,7 +91,7 @@ options.</p>
|
|
91
91
|
<tt class="docutils literal"><span class="pre">combined</span> <span class="pre">expression</span></tt> or <tt class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></tt>. <tt class="docutils literal"><span class="pre">Assignment</span>
|
92
92
|
<span class="pre">expression</span></tt> can assigns a column to a value.</p>
|
93
93
|
<div class="section" id="sample-data">
|
94
|
-
<h2>8.
|
94
|
+
<h2>8.10.1.1. Sample data<a class="headerlink" href="#sample-data" title="Permalink to this headline">¶</a></h2>
|
95
95
|
<p>Here are a schema definition and sample data to show usage.</p>
|
96
96
|
<p>Execution example:</p>
|
97
97
|
<div class="highlight-none"><div class="highlight"><pre>table_create Entries TABLE_PAT_KEY ShortText
|
@@ -137,7 +137,7 @@ using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tok
|
|
137
137
|
<p>OK. The schema and data for examples are ready.</p>
|
138
138
|
</div>
|
139
139
|
<div class="section" id="escape">
|
140
|
-
<h2>8.
|
140
|
+
<h2>8.10.1.2. Escape<a class="headerlink" href="#escape" title="Permalink to this headline">¶</a></h2>
|
141
141
|
<p>There are special characters in query syntax. To use a special
|
142
142
|
character as itself, it should be escaped by prepending <tt class="docutils literal"><span class="pre">\</span></tt>. For
|
143
143
|
example, <tt class="docutils literal"><span class="pre">"</span></tt> is a special character. It is escaped as <tt class="docutils literal"><span class="pre">\"</span></tt>.</p>
|
@@ -161,10 +161,10 @@ example, <tt class="docutils literal"><span class="pre">Alice's</span> <span cla
|
|
161
161
|
<span class="pre">(Bob)"</span></tt> or <tt class="docutils literal"><span class="pre">'Alice\'s</span> <span class="pre">brother</span> <span class="pre">(Bob)'</span></tt>.</p>
|
162
162
|
</div>
|
163
163
|
<div class="section" id="conditional-expression">
|
164
|
-
<span id="id1"></span><h2>8.
|
164
|
+
<span id="id1"></span><h2>8.10.1.3. Conditional expression<a class="headerlink" href="#conditional-expression" title="Permalink to this headline">¶</a></h2>
|
165
165
|
<p>Here is available conditional expression list.</p>
|
166
166
|
<div class="section" id="full-text-search-condition">
|
167
|
-
<span id="id2"></span><h3>8.
|
167
|
+
<span id="id2"></span><h3>8.10.1.3.1. Full text search condition<a class="headerlink" href="#full-text-search-condition" title="Permalink to this headline">¶</a></h3>
|
168
168
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">keyword</span></tt>.</p>
|
169
169
|
<p><tt class="docutils literal"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> specifies a full text search condition
|
170
170
|
against the default match columns. Match columns are full text search
|
@@ -233,7 +233,7 @@ specifies a keyword that contains one or more spaces, you can use
|
|
233
233
|
<p><tt class="docutils literal"><span class="pre">content</span></tt> column is the default match column.</p>
|
234
234
|
</div>
|
235
235
|
<div class="section" id="phrase-search-condition">
|
236
|
-
<span id="id3"></span><h3>8.
|
236
|
+
<span id="id3"></span><h3>8.10.1.3.2. Phrase search condition<a class="headerlink" href="#phrase-search-condition" title="Permalink to this headline">¶</a></h3>
|
237
237
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">"search</span> <span class="pre">keyword"</span></tt>.</p>
|
238
238
|
<p><tt class="docutils literal"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> specifies a phrase search condition
|
239
239
|
against the default match columns.</p>
|
@@ -296,7 +296,7 @@ aren't matched.</p>
|
|
296
296
|
<p><tt class="docutils literal"><span class="pre">content</span></tt> column is the default match column.</p>
|
297
297
|
</div>
|
298
298
|
<div class="section" id="full-text-search-condition-with-explicit-match-column">
|
299
|
-
<h3>8.
|
299
|
+
<h3>8.10.1.3.3. Full text search condition (with explicit match column)<a class="headerlink" href="#full-text-search-condition-with-explicit-match-column" title="Permalink to this headline">¶</a></h3>
|
300
300
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:@keyword</span></tt>.</p>
|
301
301
|
<p>It's similar to <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> but it doesn't require
|
302
302
|
the default match columns. You need to specify match column for the
|
@@ -375,7 +375,7 @@ the following features:</p>
|
|
375
375
|
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
376
376
|
</div>
|
377
377
|
<div class="section" id="phrase-search-condition-with-explicit-match-column">
|
378
|
-
<h3>8.
|
378
|
+
<h3>8.10.1.3.4. Phrase search condition (with explicit match column)<a class="headerlink" href="#phrase-search-condition-with-explicit-match-column" title="Permalink to this headline">¶</a></h3>
|
379
379
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:@"search</span> <span class="pre">keyword"</span></tt>.</p>
|
380
380
|
<p>It's similar to <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> but it doesn't require the
|
381
381
|
default match columns. You need to specify match column for the phrase
|
@@ -436,7 +436,7 @@ advanced match columns but <tt class="docutils literal"><span class="pre">phrase
|
|
436
436
|
<tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">started</span></tt> aren't adjacent.</p>
|
437
437
|
</div>
|
438
438
|
<div class="section" id="prefix-search-condition">
|
439
|
-
<span id="id4"></span><h3>8.
|
439
|
+
<span id="id4"></span><h3>8.10.1.3.5. Prefix search condition<a class="headerlink" href="#prefix-search-condition" title="Permalink to this headline">¶</a></h3>
|
440
440
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:^value</span></tt> or <tt class="docutils literal"><span class="pre">value*</span></tt>.</p>
|
441
441
|
<p>This conditional expression does prefix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Prefix
|
442
442
|
search searches records that contain a word that starts with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
@@ -505,7 +505,7 @@ time for large records.</p>
|
|
505
505
|
<tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></tt> are matched with the expression.</p>
|
506
506
|
</div>
|
507
507
|
<div class="section" id="suffix-search-condition">
|
508
|
-
<span id="id5"></span><h3>8.
|
508
|
+
<span id="id5"></span><h3>8.10.1.3.6. Suffix search condition<a class="headerlink" href="#suffix-search-condition" title="Permalink to this headline">¶</a></h3>
|
509
509
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:$value</span></tt>.</p>
|
510
510
|
<p>This conditional expression does suffix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Suffix
|
511
511
|
search searches records that contain a word that ends with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
@@ -590,7 +590,7 @@ in <tt class="docutils literal"><span class="pre">content</span></tt> column val
|
|
590
590
|
with the expression.</p>
|
591
591
|
</div>
|
592
592
|
<div class="section" id="equal-condition">
|
593
|
-
<h3>8.
|
593
|
+
<h3>8.10.1.3.7. Equal condition<a class="headerlink" href="#equal-condition" title="Permalink to this headline">¶</a></h3>
|
594
594
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:value</span></tt>.</p>
|
595
595
|
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is equal to <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
596
596
|
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
@@ -642,7 +642,7 @@ with the expression.</p>
|
|
642
642
|
equal to <tt class="docutils literal"><span class="pre">Groonga</span></tt>.</p>
|
643
643
|
</div>
|
644
644
|
<div class="section" id="not-equal-condition">
|
645
|
-
<h3>8.
|
645
|
+
<h3>8.10.1.3.8. Not equal condition<a class="headerlink" href="#not-equal-condition" title="Permalink to this headline">¶</a></h3>
|
646
646
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:!value</span></tt>.</p>
|
647
647
|
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value isn't equal to <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
648
648
|
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
@@ -712,7 +712,7 @@ equal to <tt class="docutils literal"><span class="pre">Groonga</span></tt>.</p>
|
|
712
712
|
to <tt class="docutils literal"><span class="pre">Groonga</span></tt>.</p>
|
713
713
|
</div>
|
714
714
|
<div class="section" id="less-than-condition">
|
715
|
-
<h3>8.
|
715
|
+
<h3>8.10.1.3.9. Less than condition<a class="headerlink" href="#less-than-condition" title="Permalink to this headline">¶</a></h3>
|
716
716
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:<value</span></tt>.</p>
|
717
717
|
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is less than <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
718
718
|
<p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
|
@@ -780,7 +780,7 @@ compared as bit sequence.</p>
|
|
780
780
|
than <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
781
781
|
</div>
|
782
782
|
<div class="section" id="greater-than-condition">
|
783
|
-
<h3>8.
|
783
|
+
<h3>8.10.1.3.10. Greater than condition<a class="headerlink" href="#greater-than-condition" title="Permalink to this headline">¶</a></h3>
|
784
784
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:>value</span></tt>.</p>
|
785
785
|
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is greater than <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
786
786
|
<p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
|
@@ -836,7 +836,7 @@ compared as bit sequence.</p>
|
|
836
836
|
than <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
837
837
|
</div>
|
838
838
|
<div class="section" id="less-than-or-equal-to-condition">
|
839
|
-
<h3>8.
|
839
|
+
<h3>8.10.1.3.11. Less than or equal to condition<a class="headerlink" href="#less-than-or-equal-to-condition" title="Permalink to this headline">¶</a></h3>
|
840
840
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:<=value</span></tt>.</p>
|
841
841
|
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is less than or equal to
|
842
842
|
<tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
@@ -911,7 +911,7 @@ compared as bit sequence.</p>
|
|
911
911
|
than or equal to <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
912
912
|
</div>
|
913
913
|
<div class="section" id="greater-than-or-equal-to-condition">
|
914
|
-
<h3>8.
|
914
|
+
<h3>8.10.1.3.12. Greater than or equal to condition<a class="headerlink" href="#greater-than-or-equal-to-condition" title="Permalink to this headline">¶</a></h3>
|
915
915
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:>=value</span></tt>.</p>
|
916
916
|
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is greater than or equal to
|
917
917
|
<tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
@@ -975,10 +975,10 @@ greater than or equal to <tt class="docutils literal"><span class="pre">10</span
|
|
975
975
|
</div>
|
976
976
|
</div>
|
977
977
|
<div class="section" id="combined-expression">
|
978
|
-
<span id="id6"></span><h2>8.
|
978
|
+
<span id="id6"></span><h2>8.10.1.4. Combined expression<a class="headerlink" href="#combined-expression" title="Permalink to this headline">¶</a></h2>
|
979
979
|
<p>Here is available combined expression list.</p>
|
980
980
|
<div class="section" id="logical-or">
|
981
|
-
<h3>8.
|
981
|
+
<h3>8.10.1.4.1. Logical OR<a class="headerlink" href="#logical-or" title="Permalink to this headline">¶</a></h3>
|
982
982
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></tt>.</p>
|
983
983
|
<p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
|
984
984
|
assignment expressions.</p>
|
@@ -1037,7 +1037,7 @@ greater than <tt class="docutils literal"><span class="pre">10</span></tt> or co
|
|
1037
1037
|
value.</p>
|
1038
1038
|
</div>
|
1039
1039
|
<div class="section" id="logical-and">
|
1040
|
-
<h3>8.
|
1040
|
+
<h3>8.10.1.4.2. Logical AND<a class="headerlink" href="#logical-and" title="Permalink to this headline">¶</a></h3>
|
1041
1041
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></tt> or just <tt class="docutils literal"><span class="pre">a</span> <span class="pre">b</span></tt>.</p>
|
1042
1042
|
<p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
|
1043
1043
|
assignment expressions.</p>
|
@@ -1092,7 +1092,7 @@ greater than or equal to <tt class="docutils literal"><span class="pre">10</span
|
|
1092
1092
|
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
1093
1093
|
</div>
|
1094
1094
|
<div class="section" id="logical-not">
|
1095
|
-
<h3>8.
|
1095
|
+
<h3>8.10.1.4.3. Logical NOT<a class="headerlink" href="#logical-not" title="Permalink to this headline">¶</a></h3>
|
1096
1096
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></tt>.</p>
|
1097
1097
|
<p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
|
1098
1098
|
assignment expressions.</p>
|
@@ -1147,7 +1147,7 @@ greater than or equal to <tt class="docutils literal"><span class="pre">10</span
|
|
1147
1147
|
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
1148
1148
|
</div>
|
1149
1149
|
<div class="section" id="grouping">
|
1150
|
-
<h3>8.
|
1150
|
+
<h3>8.10.1.4.4. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h3>
|
1151
1151
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">(...)</span></tt>. <tt class="docutils literal"><span class="pre">...</span></tt> is space separated expression list.</p>
|
1152
1152
|
<p><tt class="docutils literal"><span class="pre">(...)</span></tt> groups one ore more expressions and they can be
|
1153
1153
|
processed as an expression. <tt class="docutils literal"><span class="pre">a</span> <span class="pre">b</span> <span class="pre">OR</span> <span class="pre">c</span></tt> means that <tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt>
|
@@ -1256,7 +1256,7 @@ are matched.</p>
|
|
1256
1256
|
</div>
|
1257
1257
|
</div>
|
1258
1258
|
<div class="section" id="assignment-expression">
|
1259
|
-
<h2>8.
|
1259
|
+
<h2>8.10.1.5. Assignment expression<a class="headerlink" href="#assignment-expression" title="Permalink to this headline">¶</a></h2>
|
1260
1260
|
<p>This section is for advanced users. Because assignment expression is
|
1261
1261
|
disabled in <tt class="docutils literal"><span class="pre">--query</span></tt> option of <a class="reference internal" href="../commands/select.html"><em>select</em></a> by
|
1262
1262
|
default. You need to specify <tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt> as
|
@@ -1283,42 +1283,42 @@ doesn't support <tt class="docutils literal"><span class="pre">column:=</span></
|
|
1283
1283
|
<div class="sphinxsidebarwrapper">
|
1284
1284
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
1285
1285
|
<ul>
|
1286
|
-
<li><a class="reference internal" href="#">8.
|
1287
|
-
<li><a class="reference internal" href="#sample-data">8.
|
1288
|
-
<li><a class="reference internal" href="#escape">8.
|
1289
|
-
<li><a class="reference internal" href="#conditional-expression">8.
|
1290
|
-
<li><a class="reference internal" href="#full-text-search-condition">8.
|
1291
|
-
<li><a class="reference internal" href="#phrase-search-condition">8.
|
1292
|
-
<li><a class="reference internal" href="#full-text-search-condition-with-explicit-match-column">8.
|
1293
|
-
<li><a class="reference internal" href="#phrase-search-condition-with-explicit-match-column">8.
|
1294
|
-
<li><a class="reference internal" href="#prefix-search-condition">8.
|
1295
|
-
<li><a class="reference internal" href="#suffix-search-condition">8.
|
1296
|
-
<li><a class="reference internal" href="#equal-condition">8.
|
1297
|
-
<li><a class="reference internal" href="#not-equal-condition">8.
|
1298
|
-
<li><a class="reference internal" href="#less-than-condition">8.
|
1299
|
-
<li><a class="reference internal" href="#greater-than-condition">8.
|
1300
|
-
<li><a class="reference internal" href="#less-than-or-equal-to-condition">8.
|
1301
|
-
<li><a class="reference internal" href="#greater-than-or-equal-to-condition">8.
|
1286
|
+
<li><a class="reference internal" href="#">8.10.1. Query syntax</a><ul>
|
1287
|
+
<li><a class="reference internal" href="#sample-data">8.10.1.1. Sample data</a></li>
|
1288
|
+
<li><a class="reference internal" href="#escape">8.10.1.2. Escape</a></li>
|
1289
|
+
<li><a class="reference internal" href="#conditional-expression">8.10.1.3. Conditional expression</a><ul>
|
1290
|
+
<li><a class="reference internal" href="#full-text-search-condition">8.10.1.3.1. Full text search condition</a></li>
|
1291
|
+
<li><a class="reference internal" href="#phrase-search-condition">8.10.1.3.2. Phrase search condition</a></li>
|
1292
|
+
<li><a class="reference internal" href="#full-text-search-condition-with-explicit-match-column">8.10.1.3.3. Full text search condition (with explicit match column)</a></li>
|
1293
|
+
<li><a class="reference internal" href="#phrase-search-condition-with-explicit-match-column">8.10.1.3.4. Phrase search condition (with explicit match column)</a></li>
|
1294
|
+
<li><a class="reference internal" href="#prefix-search-condition">8.10.1.3.5. Prefix search condition</a></li>
|
1295
|
+
<li><a class="reference internal" href="#suffix-search-condition">8.10.1.3.6. Suffix search condition</a></li>
|
1296
|
+
<li><a class="reference internal" href="#equal-condition">8.10.1.3.7. Equal condition</a></li>
|
1297
|
+
<li><a class="reference internal" href="#not-equal-condition">8.10.1.3.8. Not equal condition</a></li>
|
1298
|
+
<li><a class="reference internal" href="#less-than-condition">8.10.1.3.9. Less than condition</a></li>
|
1299
|
+
<li><a class="reference internal" href="#greater-than-condition">8.10.1.3.10. Greater than condition</a></li>
|
1300
|
+
<li><a class="reference internal" href="#less-than-or-equal-to-condition">8.10.1.3.11. Less than or equal to condition</a></li>
|
1301
|
+
<li><a class="reference internal" href="#greater-than-or-equal-to-condition">8.10.1.3.12. Greater than or equal to condition</a></li>
|
1302
1302
|
</ul>
|
1303
1303
|
</li>
|
1304
|
-
<li><a class="reference internal" href="#combined-expression">8.
|
1305
|
-
<li><a class="reference internal" href="#logical-or">8.
|
1306
|
-
<li><a class="reference internal" href="#logical-and">8.
|
1307
|
-
<li><a class="reference internal" href="#logical-not">8.
|
1308
|
-
<li><a class="reference internal" href="#grouping">8.
|
1304
|
+
<li><a class="reference internal" href="#combined-expression">8.10.1.4. Combined expression</a><ul>
|
1305
|
+
<li><a class="reference internal" href="#logical-or">8.10.1.4.1. Logical OR</a></li>
|
1306
|
+
<li><a class="reference internal" href="#logical-and">8.10.1.4.2. Logical AND</a></li>
|
1307
|
+
<li><a class="reference internal" href="#logical-not">8.10.1.4.3. Logical NOT</a></li>
|
1308
|
+
<li><a class="reference internal" href="#grouping">8.10.1.4.4. Grouping</a></li>
|
1309
1309
|
</ul>
|
1310
1310
|
</li>
|
1311
|
-
<li><a class="reference internal" href="#assignment-expression">8.
|
1311
|
+
<li><a class="reference internal" href="#assignment-expression">8.10.1.5. Assignment expression</a></li>
|
1312
1312
|
</ul>
|
1313
1313
|
</li>
|
1314
1314
|
</ul>
|
1315
1315
|
|
1316
1316
|
<h4>Previous topic</h4>
|
1317
1317
|
<p class="topless"><a href="../grn_expr.html"
|
1318
|
-
title="previous chapter">8.
|
1318
|
+
title="previous chapter">8.10. grn_expr</a></p>
|
1319
1319
|
<h4>Next topic</h4>
|
1320
1320
|
<p class="topless"><a href="script_syntax.html"
|
1321
|
-
title="next chapter">8.
|
1321
|
+
title="next chapter">8.10.2. Script syntax</a></p>
|
1322
1322
|
<h3>This Page</h3>
|
1323
1323
|
<ul class="this-page-menu">
|
1324
1324
|
<li><a href="../../_sources/reference/grn_expr/query_syntax.txt"
|
@@ -1348,14 +1348,14 @@ doesn't support <tt class="docutils literal"><span class="pre">column:=</span></
|
|
1348
1348
|
<a href="../../genindex.html" title="General Index"
|
1349
1349
|
>index</a></li>
|
1350
1350
|
<li class="right" >
|
1351
|
-
<a href="script_syntax.html" title="8.
|
1351
|
+
<a href="script_syntax.html" title="8.10.2. Script syntax"
|
1352
1352
|
>next</a> |</li>
|
1353
1353
|
<li class="right" >
|
1354
|
-
<a href="../grn_expr.html" title="8.
|
1354
|
+
<a href="../grn_expr.html" title="8.10. grn_expr"
|
1355
1355
|
>previous</a> |</li>
|
1356
|
-
<li><a href="../../index.html">groonga v2.1.0 documentation</a> »</li>
|
1356
|
+
<li><a href="../../index.html">groonga v2.1.0-26-ge48bfb0 documentation</a> »</li>
|
1357
1357
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
1358
|
-
<li><a href="../grn_expr.html" >8.
|
1358
|
+
<li><a href="../grn_expr.html" >8.10. grn_expr</a> »</li>
|
1359
1359
|
</ul>
|
1360
1360
|
</div>
|
1361
1361
|
<div class="footer">
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>8.
|
12
|
+
<title>8.10.2. Script syntax — groonga v2.1.0-26-ge48bfb0 documentation</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '../../',
|
20
|
-
VERSION: '2.1.0',
|
20
|
+
VERSION: '2.1.0-26-ge48bfb0',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,10 +27,10 @@
|
|
27
27
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v2.1.0 documentation" href="../../index.html" />
|
31
|
-
<link rel="up" title="8.
|
32
|
-
<link rel="next" title="8.
|
33
|
-
<link rel="prev" title="8.
|
30
|
+
<link rel="top" title="groonga v2.1.0-26-ge48bfb0 documentation" href="../../index.html" />
|
31
|
+
<link rel="up" title="8.10. grn_expr" href="../grn_expr.html" />
|
32
|
+
<link rel="next" title="8.11. Function" href="../function.html" />
|
33
|
+
<link rel="prev" title="8.10.1. Query syntax" href="query_syntax.html" />
|
34
34
|
</head>
|
35
35
|
<body>
|
36
36
|
<div class="header">
|
@@ -57,14 +57,14 @@
|
|
57
57
|
<a href="../../genindex.html" title="General Index"
|
58
58
|
accesskey="I">index</a></li>
|
59
59
|
<li class="right" >
|
60
|
-
<a href="../function.html" title="8.
|
60
|
+
<a href="../function.html" title="8.11. Function"
|
61
61
|
accesskey="N">next</a> |</li>
|
62
62
|
<li class="right" >
|
63
|
-
<a href="query_syntax.html" title="8.
|
63
|
+
<a href="query_syntax.html" title="8.10.1. Query syntax"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../../index.html">groonga v2.1.0 documentation</a> »</li>
|
65
|
+
<li><a href="../../index.html">groonga v2.1.0-26-ge48bfb0 documentation</a> »</li>
|
66
66
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
67
|
-
<li><a href="../grn_expr.html" accesskey="U">8.
|
67
|
+
<li><a href="../grn_expr.html" accesskey="U">8.10. grn_expr</a> »</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
70
70
|
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<div class="body">
|
75
75
|
|
76
76
|
<div class="section" id="script-syntax">
|
77
|
-
<h1>8.
|
77
|
+
<h1>8.10.2. Script syntax<a class="headerlink" href="#script-syntax" title="Permalink to this headline">¶</a></h1>
|
78
78
|
<p>Script syntax is a syntax to specify complex search condition. It is
|
79
79
|
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
|
80
80
|
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
|
@@ -88,7 +88,7 @@ statement. Function definion is not supported too. But script syntax
|
|
88
88
|
addes the original additional operators. They are described after
|
89
89
|
ECMAScript syntax is described.</p>
|
90
90
|
<div class="section" id="sample-data">
|
91
|
-
<h2>8.
|
91
|
+
<h2>8.10.2.1. Sample data<a class="headerlink" href="#sample-data" title="Permalink to this headline">¶</a></h2>
|
92
92
|
<p>Here are a schema definition and sample data to show usage.</p>
|
93
93
|
<p>Execution example:</p>
|
94
94
|
<div class="highlight-none"><div class="highlight"><pre>table_create Entries TABLE_PAT_KEY ShortText
|
@@ -134,9 +134,9 @@ using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tok
|
|
134
134
|
<p>OK. The schema and data for examples are ready.</p>
|
135
135
|
</div>
|
136
136
|
<div class="section" id="literals">
|
137
|
-
<h2>8.
|
137
|
+
<h2>8.10.2.2. Literals<a class="headerlink" href="#literals" title="Permalink to this headline">¶</a></h2>
|
138
138
|
<div class="section" id="integer">
|
139
|
-
<h3>8.
|
139
|
+
<h3>8.10.2.2.1. Integer<a class="headerlink" href="#integer" title="Permalink to this headline">¶</a></h3>
|
140
140
|
<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
|
141
141
|
<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
|
142
142
|
<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,
|
@@ -146,7 +146,7 @@ hex and so on can't be used.</p>
|
|
146
146
|
<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>
|
147
147
|
</div>
|
148
148
|
<div class="section" id="float">
|
149
|
-
<h3>8.
|
149
|
+
<h3>8.10.2.2.2. Float<a class="headerlink" href="#float" title="Permalink to this headline">¶</a></h3>
|
150
150
|
<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>
|
151
151
|
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
|
152
152
|
<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
|
@@ -154,7 +154,7 @@ such as <tt class="docutils literal"><span class="pre">3.14</span></tt>. <tt cla
|
|
154
154
|
<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>
|
155
155
|
</div>
|
156
156
|
<div class="section" id="string">
|
157
|
-
<h3>8.
|
157
|
+
<h3>8.10.2.2.3. String<a class="headerlink" href="#string" title="Permalink to this headline">¶</a></h3>
|
158
158
|
<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
|
159
159
|
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
|
160
160
|
a literal for <tt class="docutils literal"><span class="pre">Say</span> <span class="pre">"Hello!".</span></tt> string.</p>
|
@@ -164,17 +164,17 @@ configure option, <tt class="docutils literal"><span class="pre">--encodiong</sp
|
|
164
164
|
and so on.</p>
|
165
165
|
</div>
|
166
166
|
<div class="section" id="boolean">
|
167
|
-
<h3>8.
|
167
|
+
<h3>8.10.2.2.4. Boolean<a class="headerlink" href="#boolean" title="Permalink to this headline">¶</a></h3>
|
168
168
|
<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
|
169
169
|
<tt class="docutils literal"><span class="pre">false</span></tt> means false.</p>
|
170
170
|
</div>
|
171
171
|
<div class="section" id="null">
|
172
|
-
<h3>8.
|
172
|
+
<h3>8.10.2.2.5. Null<a class="headerlink" href="#null" title="Permalink to this headline">¶</a></h3>
|
173
173
|
<p>Null literal is <tt class="docutils literal"><span class="pre">null</span></tt>. Groonga doesn't support null value but null
|
174
174
|
literal is supported.</p>
|
175
175
|
</div>
|
176
176
|
<div class="section" id="time">
|
177
|
-
<h3>8.
|
177
|
+
<h3>8.10.2.2.6. Time<a class="headerlink" href="#time" title="Permalink to this headline">¶</a></h3>
|
178
178
|
<div class="admonition note">
|
179
179
|
<p class="first admonition-title">Note</p>
|
180
180
|
<p class="last">This is the groonga original notation.</p>
|
@@ -196,7 +196,7 @@ have elapsed since midnight UTC, January 1, 1970. For example,
|
|
196
196
|
format.</p>
|
197
197
|
</div>
|
198
198
|
<div class="section" id="geo-point">
|
199
|
-
<h3>8.
|
199
|
+
<h3>8.10.2.2.7. Geo point<a class="headerlink" href="#geo-point" title="Permalink to this headline">¶</a></h3>
|
200
200
|
<div class="admonition note">
|
201
201
|
<p class="first admonition-title">Note</p>
|
202
202
|
<p class="last">This is the groonga original notation.</p>
|
@@ -215,17 +215,17 @@ format.</p>
|
|
215
215
|
be represented in milliseconds or degree.</p>
|
216
216
|
</div>
|
217
217
|
<div class="section" id="array">
|
218
|
-
<h3>8.
|
218
|
+
<h3>8.10.2.2.8. Array<a class="headerlink" href="#array" title="Permalink to this headline">¶</a></h3>
|
219
219
|
<p>Array literal is <tt class="docutils literal"><span class="pre">[element1,</span> <span class="pre">element2,</span> <span class="pre">...]</span></tt>.</p>
|
220
220
|
</div>
|
221
221
|
<div class="section" id="object-literal">
|
222
|
-
<h3>8.
|
222
|
+
<h3>8.10.2.2.9. Object literal<a class="headerlink" href="#object-literal" title="Permalink to this headline">¶</a></h3>
|
223
223
|
<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
|
224
224
|
doesn't support object literal yet.</p>
|
225
225
|
</div>
|
226
226
|
</div>
|
227
227
|
<div class="section" id="control-syntaxes">
|
228
|
-
<h2>8.
|
228
|
+
<h2>8.10.2.3. Control syntaxes<a class="headerlink" href="#control-syntaxes" title="Permalink to this headline">¶</a></h2>
|
229
229
|
<p>Script syntax doesn't support statement. So you cannot use control
|
230
230
|
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
|
231
231
|
control syntax.</p>
|
@@ -290,7 +290,7 @@ and <tt class="docutils literal"><span class="pre">n_likes</span></tt> column va
|
|
290
290
|
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>
|
291
291
|
</div>
|
292
292
|
<div class="section" id="grouping">
|
293
|
-
<h2>8.
|
293
|
+
<h2>8.10.2.4. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h2>
|
294
294
|
<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>
|
295
295
|
<p><tt class="docutils literal"><span class="pre">(...)</span></tt> groups one ore more expressions and they can be processed as
|
296
296
|
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
|
@@ -398,11 +398,11 @@ select Entries --filter 'n_likes < 5 && (content @ "senna&qu
|
|
398
398
|
matched.</p>
|
399
399
|
</div>
|
400
400
|
<div class="section" id="function-call">
|
401
|
-
<h2>8.
|
401
|
+
<h2>8.10.2.5. Function call<a class="headerlink" href="#function-call" title="Permalink to this headline">¶</a></h2>
|
402
402
|
<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>
|
403
403
|
<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
|
404
404
|
<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>
|
405
|
-
<p>See <
|
405
|
+
<p>See <a class="reference internal" href="../function.html"><em>Function</em></a> for available functin list.</p>
|
406
406
|
<p>Here is a simple exmaple.</p>
|
407
407
|
<p>Execution example:</p>
|
408
408
|
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'edit_distance(_key, "Groonga") <= 1'
|
@@ -460,13 +460,13 @@ treated as similar. In this case, <tt class="docutils literal"><span class="pre"
|
|
460
460
|
treated as similar.</p>
|
461
461
|
</div>
|
462
462
|
<div class="section" id="basic-operators">
|
463
|
-
<h2>8.
|
463
|
+
<h2>8.10.2.6. Basic operators<a class="headerlink" href="#basic-operators" title="Permalink to this headline">¶</a></h2>
|
464
464
|
<p>Groonga supports operators defined in ECMAScript.</p>
|
465
465
|
<div class="section" id="arithmetic-operators">
|
466
|
-
<h3>8.
|
466
|
+
<h3>8.10.2.6.1. Arithmetic operators<a class="headerlink" href="#arithmetic-operators" title="Permalink to this headline">¶</a></h3>
|
467
467
|
<p>Here are arithmetic operators.</p>
|
468
468
|
<div class="section" id="addition-operator">
|
469
|
-
<h4>8.
|
469
|
+
<h4>8.10.2.6.1.1. Addition operator<a class="headerlink" href="#addition-operator" title="Permalink to this headline">¶</a></h4>
|
470
470
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">+</span> <span class="pre">number2</span></tt>.</p>
|
471
471
|
<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>
|
472
472
|
<p>Here is a simple example.</p>
|
@@ -516,7 +516,7 @@ treated as similar.</p>
|
|
516
516
|
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>
|
517
517
|
</div>
|
518
518
|
<div class="section" id="subtraction-operator">
|
519
|
-
<h4>8.
|
519
|
+
<h4>8.10.2.6.1.2. Subtraction operator<a class="headerlink" href="#subtraction-operator" title="Permalink to this headline">¶</a></h4>
|
520
520
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">-</span> <span class="pre">number2</span></tt>.</p>
|
521
521
|
<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>
|
522
522
|
<p>Here is a simple example.</p>
|
@@ -566,7 +566,7 @@ to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="d
|
|
566
566
|
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>
|
567
567
|
</div>
|
568
568
|
<div class="section" id="multiplication-operator">
|
569
|
-
<h4>8.
|
569
|
+
<h4>8.10.2.6.1.3. Multiplication operator<a class="headerlink" href="#multiplication-operator" title="Permalink to this headline">¶</a></h4>
|
570
570
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">*</span> <span class="pre">number2</span></tt>.</p>
|
571
571
|
<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>
|
572
572
|
<p>Here is a simple example.</p>
|
@@ -616,7 +616,7 @@ to <tt class="docutils literal"><span class="pre">15</span></tt> (= <tt class="d
|
|
616
616
|
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>
|
617
617
|
</div>
|
618
618
|
<div class="section" id="division-operator">
|
619
|
-
<h4>8.
|
619
|
+
<h4>8.10.2.6.1.4. Division operator<a class="headerlink" href="#division-operator" title="Permalink to this headline">¶</a></h4>
|
620
620
|
<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>
|
621
621
|
<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
|
622
622
|
quotient of result. <tt class="docutils literal"><span class="pre">%</span></tt> returns the remainder of result.</p>
|
@@ -718,10 +718,10 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
|
|
718
718
|
</div>
|
719
719
|
</div>
|
720
720
|
<div class="section" id="logical-operators">
|
721
|
-
<h3>8.
|
721
|
+
<h3>8.10.2.6.2. Logical operators<a class="headerlink" href="#logical-operators" title="Permalink to this headline">¶</a></h3>
|
722
722
|
<p>Here are logical operators.</p>
|
723
723
|
<div class="section" id="logical-not-operator">
|
724
|
-
<h4>8.
|
724
|
+
<h4>8.10.2.6.2.1. Logical NOT operator<a class="headerlink" href="#logical-not-operator" title="Permalink to this headline">¶</a></h4>
|
725
725
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">!condition</span></tt>.</p>
|
726
726
|
<p>The operator inverts boolean value of <tt class="docutils literal"><span class="pre">condition</span></tt>.</p>
|
727
727
|
<p>Here is a simple example.</p>
|
@@ -789,7 +789,7 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
|
|
789
789
|
equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
|
790
790
|
</div>
|
791
791
|
<div class="section" id="logical-and-operator">
|
792
|
-
<h4>8.
|
792
|
+
<h4>8.10.2.6.2.2. Logical AND operator<a class="headerlink" href="#logical-and-operator" title="Permalink to this headline">¶</a></h4>
|
793
793
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">&&</span> <span class="pre">condition2</span></tt>.</p>
|
794
794
|
<p>The operator returns true if both of <tt class="docutils literal"><span class="pre">condition1</span></tt> and
|
795
795
|
<tt class="docutils literal"><span class="pre">condition2</span></tt> are true, false otherwise.</p>
|
@@ -847,7 +847,7 @@ word <tt class="docutils literal"><span class="pre">fast</span></tt> and <tt cla
|
|
847
847
|
<tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
848
848
|
</div>
|
849
849
|
<div class="section" id="logical-or-operator">
|
850
|
-
<h4>8.
|
850
|
+
<h4>8.10.2.6.2.3. Logical OR operator<a class="headerlink" href="#logical-or-operator" title="Permalink to this headline">¶</a></h4>
|
851
851
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">||</span> <span class="pre">condition2</span></tt>.</p>
|
852
852
|
<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
|
853
853
|
true, false otherwise.</p>
|
@@ -904,7 +904,7 @@ true, false otherwise.</p>
|
|
904
904
|
to <tt class="docutils literal"><span class="pre">5</span></tt> or <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
905
905
|
</div>
|
906
906
|
<div class="section" id="logical-and-not-operator">
|
907
|
-
<h4>8.
|
907
|
+
<h4>8.10.2.6.2.4. Logical AND NOT operator<a class="headerlink" href="#logical-and-not-operator" title="Permalink to this headline">¶</a></h4>
|
908
908
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">&!</span> <span class="pre">condition2</span></tt>.</p>
|
909
909
|
<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>
|
910
910
|
is false, false otherwise. It returns difference set.</p>
|
@@ -956,10 +956,10 @@ word <tt class="docutils literal"><span class="pre">fast</span></tt> but doesn't
|
|
956
956
|
</div>
|
957
957
|
</div>
|
958
958
|
<div class="section" id="bitwise-operators">
|
959
|
-
<h3>8.
|
959
|
+
<h3>8.10.2.6.3. Bitwise operators<a class="headerlink" href="#bitwise-operators" title="Permalink to this headline">¶</a></h3>
|
960
960
|
<p>Here are bitwise operators.</p>
|
961
961
|
<div class="section" id="bitwise-not-operator">
|
962
|
-
<h4>8.
|
962
|
+
<h4>8.10.2.6.3.1. Bitwise NOT operator<a class="headerlink" href="#bitwise-not-operator" title="Permalink to this headline">¶</a></h4>
|
963
963
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">~number</span></tt>.</p>
|
964
964
|
<p>The operator returns bitwise NOT of <tt class="docutils literal"><span class="pre">number</span></tt>.</p>
|
965
965
|
<p>Here is a simple example.</p>
|
@@ -1009,7 +1009,7 @@ word <tt class="docutils literal"><span class="pre">fast</span></tt> but doesn't
|
|
1009
1009
|
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>
|
1010
1010
|
</div>
|
1011
1011
|
<div class="section" id="bitwise-and-operator">
|
1012
|
-
<h4>8.
|
1012
|
+
<h4>8.10.2.6.3.2. Bitwise AND operator<a class="headerlink" href="#bitwise-and-operator" title="Permalink to this headline">¶</a></h4>
|
1013
1013
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">&</span> <span class="pre">number2</span></tt>.</p>
|
1014
1014
|
<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>
|
1015
1015
|
<p>Here is a simple example.</p>
|
@@ -1080,7 +1080,7 @@ to <tt class="docutils literal"><span class="pre">1</span></tt> and bitwise AND
|
|
1080
1080
|
</div>
|
1081
1081
|
</div>
|
1082
1082
|
<div class="section" id="bitwise-or-operator">
|
1083
|
-
<h3>8.
|
1083
|
+
<h3>8.10.2.6.4. Bitwise OR operator<a class="headerlink" href="#bitwise-or-operator" title="Permalink to this headline">¶</a></h3>
|
1084
1084
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">|</span> <span class="pre">number2</span></tt>.</p>
|
1085
1085
|
<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>
|
1086
1086
|
<p>Here is a simple example.</p>
|
@@ -1130,7 +1130,7 @@ to <tt class="docutils literal"><span class="pre">1</span></tt> and bitwise AND
|
|
1130
1130
|
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>
|
1131
1131
|
</div>
|
1132
1132
|
<div class="section" id="bitwise-xor-operator">
|
1133
|
-
<h3>8.
|
1133
|
+
<h3>8.10.2.6.5. Bitwise XOR operator<a class="headerlink" href="#bitwise-xor-operator" title="Permalink to this headline">¶</a></h3>
|
1134
1134
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">^</span> <span class="pre">number2</span></tt>.</p>
|
1135
1135
|
<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>
|
1136
1136
|
<p>Here is a simple example.</p>
|
@@ -1180,10 +1180,10 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
|
|
1180
1180
|
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>
|
1181
1181
|
</div>
|
1182
1182
|
<div class="section" id="shift-operators">
|
1183
|
-
<h3>8.
|
1183
|
+
<h3>8.10.2.6.6. Shift operators<a class="headerlink" href="#shift-operators" title="Permalink to this headline">¶</a></h3>
|
1184
1184
|
<p>Here are shift operators.</p>
|
1185
1185
|
<div class="section" id="left-shift-operator">
|
1186
|
-
<h4>8.
|
1186
|
+
<h4>8.10.2.6.6.1. Left shift operator<a class="headerlink" href="#left-shift-operator" title="Permalink to this headline">¶</a></h4>
|
1187
1187
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre"><<</span> <span class="pre">number2</span></tt>.</p>
|
1188
1188
|
<p>The operator performs a bitwise left shift operation on <tt class="docutils literal"><span class="pre">number1</span></tt> by
|
1189
1189
|
<tt class="docutils literal"><span class="pre">number2</span></tt>.</p>
|
@@ -1234,7 +1234,7 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
|
|
1234
1234
|
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>
|
1235
1235
|
</div>
|
1236
1236
|
<div class="section" id="signed-right-shift-operator">
|
1237
|
-
<h4>8.
|
1237
|
+
<h4>8.10.2.6.6.2. Signed right shift operator<a class="headerlink" href="#signed-right-shift-operator" title="Permalink to this headline">¶</a></h4>
|
1238
1238
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">>></span> <span class="pre">number2</span></tt>.</p>
|
1239
1239
|
<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
|
1240
1240
|
of the result is the same as <tt class="docutils literal"><span class="pre">number1</span></tt>.</p>
|
@@ -1285,7 +1285,7 @@ of the result is the same as <tt class="docutils literal"><span class="pre">numb
|
|
1285
1285
|
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>
|
1286
1286
|
</div>
|
1287
1287
|
<div class="section" id="unsigned-right-shift-operator">
|
1288
|
-
<h4>8.
|
1288
|
+
<h4>8.10.2.6.6.3. Unsigned right shift operator<a class="headerlink" href="#unsigned-right-shift-operator" title="Permalink to this headline">¶</a></h4>
|
1289
1289
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">>>></span> <span class="pre">number2</span></tt>.</p>
|
1290
1290
|
<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
|
1291
1291
|
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>
|
@@ -1337,10 +1337,10 @@ to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="do
|
|
1337
1337
|
</div>
|
1338
1338
|
</div>
|
1339
1339
|
<div class="section" id="comparison-operators">
|
1340
|
-
<h3>8.
|
1340
|
+
<h3>8.10.2.6.7. Comparison operators<a class="headerlink" href="#comparison-operators" title="Permalink to this headline">¶</a></h3>
|
1341
1341
|
<p>Here are comparison operators.</p>
|
1342
1342
|
<div class="section" id="equal-operator">
|
1343
|
-
<h4>8.
|
1343
|
+
<h4>8.10.2.6.7.1. Equal operator<a class="headerlink" href="#equal-operator" title="Permalink to this headline">¶</a></h4>
|
1344
1344
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">object1</span> <span class="pre">==</span> <span class="pre">object2</span></tt>.</p>
|
1345
1345
|
<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
|
1346
1346
|
otherwise.</p>
|
@@ -1391,7 +1391,7 @@ otherwise.</p>
|
|
1391
1391
|
to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
|
1392
1392
|
</div>
|
1393
1393
|
<div class="section" id="not-equal-operator">
|
1394
|
-
<h4>8.
|
1394
|
+
<h4>8.10.2.6.7.2. Not equal operator<a class="headerlink" href="#not-equal-operator" title="Permalink to this headline">¶</a></h4>
|
1395
1395
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">object1</span> <span class="pre">!=</span> <span class="pre">object2</span></tt>.</p>
|
1396
1396
|
<p>The operator returns true if <tt class="docutils literal"><span class="pre">object1</span></tt> does not equal to
|
1397
1397
|
<tt class="docutils literal"><span class="pre">object2</span></tt>, false otherwise.</p>
|
@@ -1460,34 +1460,34 @@ to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
|
|
1460
1460
|
equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
|
1461
1461
|
</div>
|
1462
1462
|
<div class="section" id="less-than-operator">
|
1463
|
-
<h4>8.
|
1463
|
+
<h4>8.10.2.6.7.3. Less than operator<a class="headerlink" href="#less-than-operator" title="Permalink to this headline">¶</a></h4>
|
1464
1464
|
<p>TODO: ...</p>
|
1465
1465
|
</div>
|
1466
1466
|
<div class="section" id="less-than-or-equal-to-operator">
|
1467
|
-
<h4>8.
|
1467
|
+
<h4>8.10.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>
|
1468
1468
|
<p>TODO: ...</p>
|
1469
1469
|
</div>
|
1470
1470
|
<div class="section" id="greater-than-operator">
|
1471
|
-
<h4>8.
|
1471
|
+
<h4>8.10.2.6.7.5. Greater than operator<a class="headerlink" href="#greater-than-operator" title="Permalink to this headline">¶</a></h4>
|
1472
1472
|
<p>TODO: ...</p>
|
1473
1473
|
</div>
|
1474
1474
|
<div class="section" id="greater-than-or-equal-to-operator">
|
1475
|
-
<h4>8.
|
1475
|
+
<h4>8.10.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>
|
1476
1476
|
<p>TODO: ...</p>
|
1477
1477
|
</div>
|
1478
1478
|
</div>
|
1479
1479
|
</div>
|
1480
1480
|
<div class="section" id="assignment-operators">
|
1481
|
-
<h2>8.
|
1481
|
+
<h2>8.10.2.7. Assignment operators<a class="headerlink" href="#assignment-operators" title="Permalink to this headline">¶</a></h2>
|
1482
1482
|
<p>TODO: ...</p>
|
1483
1483
|
</div>
|
1484
1484
|
<div class="section" id="original-operators">
|
1485
|
-
<h2>8.
|
1485
|
+
<h2>8.10.2.8. Original operators<a class="headerlink" href="#original-operators" title="Permalink to this headline">¶</a></h2>
|
1486
1486
|
<p>Script syntax adds the original binary opearators to ECMAScript
|
1487
1487
|
syntax. They operate search specific operations. They are starts with
|
1488
1488
|
<tt class="docutils literal"><span class="pre">@</span></tt> or <tt class="docutils literal"><span class="pre">*</span></tt>.</p>
|
1489
1489
|
<div class="section" id="match-operator">
|
1490
|
-
<span id="match-oeprator"></span><h3>8.
|
1490
|
+
<span id="match-oeprator"></span><h3>8.10.2.8.1. Match operator<a class="headerlink" href="#match-operator" title="Permalink to this headline">¶</a></h3>
|
1491
1491
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">@</span> <span class="pre">value</span></tt>.</p>
|
1492
1492
|
<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>.
|
1493
1493
|
Normally, full text search is operated but tag search can be operated.
|
@@ -1528,7 +1528,7 @@ Because tag search is also implemented by inverted index.</p>
|
|
1528
1528
|
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
1529
1529
|
</div>
|
1530
1530
|
<div class="section" id="prefix-search-operator">
|
1531
|
-
<span id="id1"></span><h3>8.
|
1531
|
+
<span id="id1"></span><h3>8.10.2.8.2. Prefix search operator<a class="headerlink" href="#prefix-search-operator" title="Permalink to this headline">¶</a></h3>
|
1532
1532
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">@^</span> <span class="pre">value</span></tt>.</p>
|
1533
1533
|
<p>The operator does prefix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Prefix search searches
|
1534
1534
|
records that contain a word that starts with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
@@ -1577,7 +1577,7 @@ time for large records.</p>
|
|
1577
1577
|
<tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></tt> are matched with the expression.</p>
|
1578
1578
|
</div>
|
1579
1579
|
<div class="section" id="suffix-search-operator">
|
1580
|
-
<span id="id2"></span><h3>8.
|
1580
|
+
<span id="id2"></span><h3>8.10.2.8.3. Suffix search operator<a class="headerlink" href="#suffix-search-operator" title="Permalink to this headline">¶</a></h3>
|
1581
1581
|
<p>Its syntax is <tt class="docutils literal"><span class="pre">column</span> <span class="pre">@$</span> <span class="pre">value</span></tt>.</p>
|
1582
1582
|
<p>This operator does suffix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Suffix search
|
1583
1583
|
searches records that contain a word that ends with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
@@ -1660,7 +1660,7 @@ in <tt class="docutils literal"><span class="pre">content</span></tt> column val
|
|
1660
1660
|
with the expression.</p>
|
1661
1661
|
</div>
|
1662
1662
|
<div class="section" id="near-search-operator">
|
1663
|
-
<span id="id3"></span><h3>8.
|
1663
|
+
<span id="id3"></span><h3>8.10.2.8.4. Near search operator<a class="headerlink" href="#near-search-operator" title="Permalink to this headline">¶</a></h3>
|
1664
1664
|
<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>
|
1665
1665
|
<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
|
1666
1666
|
search searches records that contain the words and the words are
|
@@ -1745,7 +1745,7 @@ the record that its content is <tt class="docutils literal"><span class="pre">I<
|
|
1745
1745
|
<tt class="docutils literal"><span class="pre">also</span></tt> and <tt class="docutils literal"><span class="pre">Really</span></tt> is 10.</p>
|
1746
1746
|
</div>
|
1747
1747
|
<div class="section" id="similar-search">
|
1748
|
-
<span id="similar-search-operator"></span><h3>8.
|
1748
|
+
<span id="similar-search-operator"></span><h3>8.10.2.8.5. Similar search<a class="headerlink" href="#similar-search" title="Permalink to this headline">¶</a></h3>
|
1749
1749
|
<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>
|
1750
1750
|
<p>The operator does similar search with document <tt class="docutils literal"><span class="pre">document</span></tt>. Similar
|
1751
1751
|
search searches records that have similar content to
|
@@ -1788,7 +1788,7 @@ search searches records that have similar content to
|
|
1788
1788
|
<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>
|
1789
1789
|
</div>
|
1790
1790
|
<div class="section" id="term-extract-operator">
|
1791
|
-
<span id="id4"></span><h3>8.
|
1791
|
+
<span id="id4"></span><h3>8.10.2.8.6. Term extract operator<a class="headerlink" href="#term-extract-operator" title="Permalink to this headline">¶</a></h3>
|
1792
1792
|
<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>
|
1793
1793
|
<p>The operator extracts terms from <tt class="docutils literal"><span class="pre">document</span></tt>. Terms must be
|
1794
1794
|
registered as keys of the table of <tt class="docutils literal"><span class="pre">_key</span></tt>.</p>
|
@@ -1855,70 +1855,70 @@ are also normalized.</p>
|
|
1855
1855
|
<div class="sphinxsidebarwrapper">
|
1856
1856
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
1857
1857
|
<ul>
|
1858
|
-
<li><a class="reference internal" href="#">8.
|
1859
|
-
<li><a class="reference internal" href="#sample-data">8.
|
1860
|
-
<li><a class="reference internal" href="#literals">8.
|
1861
|
-
<li><a class="reference internal" href="#integer">8.
|
1862
|
-
<li><a class="reference internal" href="#float">8.
|
1863
|
-
<li><a class="reference internal" href="#string">8.
|
1864
|
-
<li><a class="reference internal" href="#boolean">8.
|
1865
|
-
<li><a class="reference internal" href="#null">8.
|
1866
|
-
<li><a class="reference internal" href="#time">8.
|
1867
|
-
<li><a class="reference internal" href="#geo-point">8.
|
1868
|
-
<li><a class="reference internal" href="#array">8.
|
1869
|
-
<li><a class="reference internal" href="#object-literal">8.
|
1858
|
+
<li><a class="reference internal" href="#">8.10.2. Script syntax</a><ul>
|
1859
|
+
<li><a class="reference internal" href="#sample-data">8.10.2.1. Sample data</a></li>
|
1860
|
+
<li><a class="reference internal" href="#literals">8.10.2.2. Literals</a><ul>
|
1861
|
+
<li><a class="reference internal" href="#integer">8.10.2.2.1. Integer</a></li>
|
1862
|
+
<li><a class="reference internal" href="#float">8.10.2.2.2. Float</a></li>
|
1863
|
+
<li><a class="reference internal" href="#string">8.10.2.2.3. String</a></li>
|
1864
|
+
<li><a class="reference internal" href="#boolean">8.10.2.2.4. Boolean</a></li>
|
1865
|
+
<li><a class="reference internal" href="#null">8.10.2.2.5. Null</a></li>
|
1866
|
+
<li><a class="reference internal" href="#time">8.10.2.2.6. Time</a></li>
|
1867
|
+
<li><a class="reference internal" href="#geo-point">8.10.2.2.7. Geo point</a></li>
|
1868
|
+
<li><a class="reference internal" href="#array">8.10.2.2.8. Array</a></li>
|
1869
|
+
<li><a class="reference internal" href="#object-literal">8.10.2.2.9. Object literal</a></li>
|
1870
1870
|
</ul>
|
1871
1871
|
</li>
|
1872
|
-
<li><a class="reference internal" href="#control-syntaxes">8.
|
1873
|
-
<li><a class="reference internal" href="#grouping">8.
|
1874
|
-
<li><a class="reference internal" href="#function-call">8.
|
1875
|
-
<li><a class="reference internal" href="#basic-operators">8.
|
1876
|
-
<li><a class="reference internal" href="#arithmetic-operators">8.
|
1877
|
-
<li><a class="reference internal" href="#addition-operator">8.
|
1878
|
-
<li><a class="reference internal" href="#subtraction-operator">8.
|
1879
|
-
<li><a class="reference internal" href="#multiplication-operator">8.
|
1880
|
-
<li><a class="reference internal" href="#division-operator">8.
|
1872
|
+
<li><a class="reference internal" href="#control-syntaxes">8.10.2.3. Control syntaxes</a></li>
|
1873
|
+
<li><a class="reference internal" href="#grouping">8.10.2.4. Grouping</a></li>
|
1874
|
+
<li><a class="reference internal" href="#function-call">8.10.2.5. Function call</a></li>
|
1875
|
+
<li><a class="reference internal" href="#basic-operators">8.10.2.6. Basic operators</a><ul>
|
1876
|
+
<li><a class="reference internal" href="#arithmetic-operators">8.10.2.6.1. Arithmetic operators</a><ul>
|
1877
|
+
<li><a class="reference internal" href="#addition-operator">8.10.2.6.1.1. Addition operator</a></li>
|
1878
|
+
<li><a class="reference internal" href="#subtraction-operator">8.10.2.6.1.2. Subtraction operator</a></li>
|
1879
|
+
<li><a class="reference internal" href="#multiplication-operator">8.10.2.6.1.3. Multiplication operator</a></li>
|
1880
|
+
<li><a class="reference internal" href="#division-operator">8.10.2.6.1.4. Division operator</a></li>
|
1881
1881
|
</ul>
|
1882
1882
|
</li>
|
1883
|
-
<li><a class="reference internal" href="#logical-operators">8.
|
1884
|
-
<li><a class="reference internal" href="#logical-not-operator">8.
|
1885
|
-
<li><a class="reference internal" href="#logical-and-operator">8.
|
1886
|
-
<li><a class="reference internal" href="#logical-or-operator">8.
|
1887
|
-
<li><a class="reference internal" href="#logical-and-not-operator">8.
|
1883
|
+
<li><a class="reference internal" href="#logical-operators">8.10.2.6.2. Logical operators</a><ul>
|
1884
|
+
<li><a class="reference internal" href="#logical-not-operator">8.10.2.6.2.1. Logical NOT operator</a></li>
|
1885
|
+
<li><a class="reference internal" href="#logical-and-operator">8.10.2.6.2.2. Logical AND operator</a></li>
|
1886
|
+
<li><a class="reference internal" href="#logical-or-operator">8.10.2.6.2.3. Logical OR operator</a></li>
|
1887
|
+
<li><a class="reference internal" href="#logical-and-not-operator">8.10.2.6.2.4. Logical AND NOT operator</a></li>
|
1888
1888
|
</ul>
|
1889
1889
|
</li>
|
1890
|
-
<li><a class="reference internal" href="#bitwise-operators">8.
|
1891
|
-
<li><a class="reference internal" href="#bitwise-not-operator">8.
|
1892
|
-
<li><a class="reference internal" href="#bitwise-and-operator">8.
|
1890
|
+
<li><a class="reference internal" href="#bitwise-operators">8.10.2.6.3. Bitwise operators</a><ul>
|
1891
|
+
<li><a class="reference internal" href="#bitwise-not-operator">8.10.2.6.3.1. Bitwise NOT operator</a></li>
|
1892
|
+
<li><a class="reference internal" href="#bitwise-and-operator">8.10.2.6.3.2. Bitwise AND operator</a></li>
|
1893
1893
|
</ul>
|
1894
1894
|
</li>
|
1895
|
-
<li><a class="reference internal" href="#bitwise-or-operator">8.
|
1896
|
-
<li><a class="reference internal" href="#bitwise-xor-operator">8.
|
1897
|
-
<li><a class="reference internal" href="#shift-operators">8.
|
1898
|
-
<li><a class="reference internal" href="#left-shift-operator">8.
|
1899
|
-
<li><a class="reference internal" href="#signed-right-shift-operator">8.
|
1900
|
-
<li><a class="reference internal" href="#unsigned-right-shift-operator">8.
|
1895
|
+
<li><a class="reference internal" href="#bitwise-or-operator">8.10.2.6.4. Bitwise OR operator</a></li>
|
1896
|
+
<li><a class="reference internal" href="#bitwise-xor-operator">8.10.2.6.5. Bitwise XOR operator</a></li>
|
1897
|
+
<li><a class="reference internal" href="#shift-operators">8.10.2.6.6. Shift operators</a><ul>
|
1898
|
+
<li><a class="reference internal" href="#left-shift-operator">8.10.2.6.6.1. Left shift operator</a></li>
|
1899
|
+
<li><a class="reference internal" href="#signed-right-shift-operator">8.10.2.6.6.2. Signed right shift operator</a></li>
|
1900
|
+
<li><a class="reference internal" href="#unsigned-right-shift-operator">8.10.2.6.6.3. Unsigned right shift operator</a></li>
|
1901
1901
|
</ul>
|
1902
1902
|
</li>
|
1903
|
-
<li><a class="reference internal" href="#comparison-operators">8.
|
1904
|
-
<li><a class="reference internal" href="#equal-operator">8.
|
1905
|
-
<li><a class="reference internal" href="#not-equal-operator">8.
|
1906
|
-
<li><a class="reference internal" href="#less-than-operator">8.
|
1907
|
-
<li><a class="reference internal" href="#less-than-or-equal-to-operator">8.
|
1908
|
-
<li><a class="reference internal" href="#greater-than-operator">8.
|
1909
|
-
<li><a class="reference internal" href="#greater-than-or-equal-to-operator">8.
|
1903
|
+
<li><a class="reference internal" href="#comparison-operators">8.10.2.6.7. Comparison operators</a><ul>
|
1904
|
+
<li><a class="reference internal" href="#equal-operator">8.10.2.6.7.1. Equal operator</a></li>
|
1905
|
+
<li><a class="reference internal" href="#not-equal-operator">8.10.2.6.7.2. Not equal operator</a></li>
|
1906
|
+
<li><a class="reference internal" href="#less-than-operator">8.10.2.6.7.3. Less than operator</a></li>
|
1907
|
+
<li><a class="reference internal" href="#less-than-or-equal-to-operator">8.10.2.6.7.4. Less than or equal to operator</a></li>
|
1908
|
+
<li><a class="reference internal" href="#greater-than-operator">8.10.2.6.7.5. Greater than operator</a></li>
|
1909
|
+
<li><a class="reference internal" href="#greater-than-or-equal-to-operator">8.10.2.6.7.6. Greater than or equal to operator</a></li>
|
1910
1910
|
</ul>
|
1911
1911
|
</li>
|
1912
1912
|
</ul>
|
1913
1913
|
</li>
|
1914
|
-
<li><a class="reference internal" href="#assignment-operators">8.
|
1915
|
-
<li><a class="reference internal" href="#original-operators">8.
|
1916
|
-
<li><a class="reference internal" href="#match-operator">8.
|
1917
|
-
<li><a class="reference internal" href="#prefix-search-operator">8.
|
1918
|
-
<li><a class="reference internal" href="#suffix-search-operator">8.
|
1919
|
-
<li><a class="reference internal" href="#near-search-operator">8.
|
1920
|
-
<li><a class="reference internal" href="#similar-search">8.
|
1921
|
-
<li><a class="reference internal" href="#term-extract-operator">8.
|
1914
|
+
<li><a class="reference internal" href="#assignment-operators">8.10.2.7. Assignment operators</a></li>
|
1915
|
+
<li><a class="reference internal" href="#original-operators">8.10.2.8. Original operators</a><ul>
|
1916
|
+
<li><a class="reference internal" href="#match-operator">8.10.2.8.1. Match operator</a></li>
|
1917
|
+
<li><a class="reference internal" href="#prefix-search-operator">8.10.2.8.2. Prefix search operator</a></li>
|
1918
|
+
<li><a class="reference internal" href="#suffix-search-operator">8.10.2.8.3. Suffix search operator</a></li>
|
1919
|
+
<li><a class="reference internal" href="#near-search-operator">8.10.2.8.4. Near search operator</a></li>
|
1920
|
+
<li><a class="reference internal" href="#similar-search">8.10.2.8.5. Similar search</a></li>
|
1921
|
+
<li><a class="reference internal" href="#term-extract-operator">8.10.2.8.6. Term extract operator</a></li>
|
1922
1922
|
</ul>
|
1923
1923
|
</li>
|
1924
1924
|
</ul>
|
@@ -1927,10 +1927,10 @@ are also normalized.</p>
|
|
1927
1927
|
|
1928
1928
|
<h4>Previous topic</h4>
|
1929
1929
|
<p class="topless"><a href="query_syntax.html"
|
1930
|
-
title="previous chapter">8.
|
1930
|
+
title="previous chapter">8.10.1. Query syntax</a></p>
|
1931
1931
|
<h4>Next topic</h4>
|
1932
1932
|
<p class="topless"><a href="../function.html"
|
1933
|
-
title="next chapter">8.
|
1933
|
+
title="next chapter">8.11. Function</a></p>
|
1934
1934
|
<h3>This Page</h3>
|
1935
1935
|
<ul class="this-page-menu">
|
1936
1936
|
<li><a href="../../_sources/reference/grn_expr/script_syntax.txt"
|
@@ -1960,14 +1960,14 @@ are also normalized.</p>
|
|
1960
1960
|
<a href="../../genindex.html" title="General Index"
|
1961
1961
|
>index</a></li>
|
1962
1962
|
<li class="right" >
|
1963
|
-
<a href="../function.html" title="8.
|
1963
|
+
<a href="../function.html" title="8.11. Function"
|
1964
1964
|
>next</a> |</li>
|
1965
1965
|
<li class="right" >
|
1966
|
-
<a href="query_syntax.html" title="8.
|
1966
|
+
<a href="query_syntax.html" title="8.10.1. Query syntax"
|
1967
1967
|
>previous</a> |</li>
|
1968
|
-
<li><a href="../../index.html">groonga v2.1.0 documentation</a> »</li>
|
1968
|
+
<li><a href="../../index.html">groonga v2.1.0-26-ge48bfb0 documentation</a> »</li>
|
1969
1969
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
1970
|
-
<li><a href="../grn_expr.html" >8.
|
1970
|
+
<li><a href="../grn_expr.html" >8.10. grn_expr</a> »</li>
|
1971
1971
|
</ul>
|
1972
1972
|
</div>
|
1973
1973
|
<div class="footer">
|