rroonga 2.0.4-x86-mingw32 → 2.0.7-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +29 -2
- data/bin/grndump +3 -2
- data/ext/groonga/extconf.rb +37 -10
- data/ext/groonga/rb-grn-accessor.c +8 -10
- data/ext/groonga/rb-grn-array-cursor.c +2 -2
- data/ext/groonga/rb-grn-array.c +39 -36
- data/ext/groonga/rb-grn-column.c +185 -200
- data/ext/groonga/rb-grn-context.c +104 -93
- data/ext/groonga/rb-grn-database.c +116 -114
- data/ext/groonga/rb-grn-double-array-trie-cursor.c +3 -3
- data/ext/groonga/rb-grn-double-array-trie.c +159 -168
- data/ext/groonga/rb-grn-encoding-support.c +2 -3
- data/ext/groonga/rb-grn-encoding.c +39 -34
- data/ext/groonga/rb-grn-exception.c +1 -1
- data/ext/groonga/rb-grn-expression.c +141 -159
- data/ext/groonga/rb-grn-fix-size-column.c +12 -13
- data/ext/groonga/rb-grn-geo-point.c +55 -0
- data/ext/groonga/rb-grn-hash-cursor.c +3 -3
- data/ext/groonga/rb-grn-hash.c +73 -86
- data/ext/groonga/rb-grn-index-column.c +80 -90
- data/ext/groonga/rb-grn-index-cursor.c +48 -15
- data/ext/groonga/rb-grn-logger.c +42 -63
- data/ext/groonga/rb-grn-object.c +73 -100
- data/ext/groonga/rb-grn-operator.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +2 -2
- data/ext/groonga/rb-grn-patricia-trie.c +200 -260
- data/ext/groonga/rb-grn-plugin.c +17 -24
- data/ext/groonga/rb-grn-posting.c +6 -1
- data/ext/groonga/rb-grn-snippet.c +37 -54
- data/ext/groonga/rb-grn-table-cursor-key-support.c +3 -3
- data/ext/groonga/rb-grn-table-cursor.c +21 -26
- data/ext/groonga/rb-grn-table-key-support.c +53 -63
- data/ext/groonga/rb-grn-table.c +366 -393
- data/ext/groonga/rb-grn-type.c +122 -26
- data/ext/groonga/rb-grn-utils.c +77 -7
- data/ext/groonga/rb-grn-variable-size-column.c +12 -20
- data/ext/groonga/rb-grn-variable.c +6 -7
- data/ext/groonga/rb-grn-view-accessor.c +1 -1
- data/ext/groonga/rb-grn-view-cursor.c +2 -2
- data/ext/groonga/rb-grn-view.c +46 -58
- data/ext/groonga/rb-grn.h +36 -4
- data/ext/groonga/rb-groonga.c +7 -6
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/command.rb +3 -1
- data/lib/groonga/database.rb +27 -0
- data/lib/groonga/dumper.rb +201 -46
- data/lib/groonga/expression-builder.rb +24 -0
- data/lib/groonga/geo-point.rb +216 -0
- data/lib/groonga/pagination.rb +30 -24
- data/lib/groonga/posting.rb +29 -1
- data/lib/groonga/record.rb +21 -18
- data/lib/groonga/schema.rb +185 -186
- data/lib/groonga.rb +3 -1
- data/rroonga-build.rb +1 -1
- data/rroonga.gemspec +90 -0
- data/test/groonga-test-utils.rb +168 -0
- data/test/run-test.rb +60 -0
- data/test/test-accessor.rb +36 -0
- data/test/test-array.rb +146 -0
- data/test/test-column.rb +350 -0
- data/test/test-command-select.rb +246 -0
- data/test/test-context.rb +130 -0
- data/test/test-database-dumper.rb +299 -0
- data/test/test-database.rb +173 -0
- data/test/test-double-array-trie.rb +189 -0
- data/test/test-encoding.rb +33 -0
- data/test/test-exception.rb +230 -0
- data/test/test-expression-builder.rb +643 -0
- data/test/test-expression.rb +134 -0
- data/test/test-fix-size-column.rb +77 -0
- data/test/test-geo-point.rb +190 -0
- data/test/test-gqtp.rb +70 -0
- data/test/test-hash.rb +367 -0
- data/test/test-index-column.rb +180 -0
- data/test/test-index-cursor.rb +149 -0
- data/test/test-logger.rb +37 -0
- data/test/test-pagination.rb +249 -0
- data/test/test-patricia-trie.rb +440 -0
- data/test/test-plugin.rb +35 -0
- data/test/test-procedure.rb +37 -0
- data/test/test-record.rb +577 -0
- data/test/test-remote.rb +63 -0
- data/test/test-schema-create-table.rb +267 -0
- data/test/test-schema-dumper.rb +235 -0
- data/test/test-schema-type.rb +208 -0
- data/test/test-schema-view.rb +90 -0
- data/test/test-schema.rb +886 -0
- data/test/test-snippet.rb +130 -0
- data/test/test-table-dumper.rb +353 -0
- data/test/test-table-offset-and-limit.rb +100 -0
- data/test/test-table-select-mecab.rb +80 -0
- data/test/test-table-select-normalize.rb +57 -0
- data/test/test-table-select-weight.rb +123 -0
- data/test/test-table-select.rb +191 -0
- data/test/test-table-traverse.rb +304 -0
- data/test/test-table.rb +711 -0
- data/test/test-type.rb +136 -0
- data/test/test-variable-size-column.rb +147 -0
- data/test/test-variable.rb +28 -0
- data/test/test-vector-column.rb +76 -0
- data/test/test-version.rb +61 -0
- data/test/test-view.rb +72 -0
- 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 +49 -0
- data/vendor/local/include/groonga/groonga/plugin.h +1 -1
- data/vendor/local/include/groonga/groonga.h +83 -7
- 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 +41 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +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/sbin/groonga-httpd-restart +64 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +17 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +638 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +21 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +61 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +15 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +131 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +136 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +72 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +53 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +267 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +43 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +196 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +77 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +21 -346
- data/vendor/local/share/doc/groonga/en/html/_sources/news/0.x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +16 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +17 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +235 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/cast.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{command_version.txt → reference/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/cache_limit.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/check.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/clearlock.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_create.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_list.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_remove.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/defrag.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/delete.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/dump.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_level.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_put.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_reopen.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/quit.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +892 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/shutdown.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/status.txt +5 -6
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/suggest.txt +8 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_create.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_list.txt +3 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_remove.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/view_add.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands.txt → reference/commands.txt} +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/add.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/get.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/set.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{executables → reference/executables}/grnslap.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +209 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources/executables/groonga-http.txt → en/html/_sources/reference/executables/groonga-server-http.txt} +3 -3
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/executables/groonga-suggest-create-dataset.txt +1 -1
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/executables/groonga.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/{executables.txt → reference/executables.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/edit_distance.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +284 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/geo_in_circle.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/now.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/rand.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions.txt → reference/functions.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +584 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +805 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +59 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/indexing.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/{log.txt → reference/log.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{output.txt → reference/output.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{type.txt → reference/type.txt} +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +12 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/server/gqtp.txt +16 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +288 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga-httpd.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +29 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +12 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/spec.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/correction.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +11 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +23 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +8 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -154
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +29 -21
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +25 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +67 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +742 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +23 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +46 -21
- data/vendor/local/share/doc/groonga/en/html/contribution.html +85 -50
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +191 -0
- data/vendor/local/share/doc/groonga/en/html/{executables.html → development.html} +27 -28
- data/vendor/local/share/doc/groonga/en/html/genindex.html +61 -61
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/index.html +167 -108
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +251 -0
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +260 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +202 -0
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +186 -0
- data/vendor/local/share/doc/groonga/en/html/install/others.html +394 -0
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +171 -0
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +321 -0
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/install.html +91 -349
- data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +301 -37
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +111 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +111 -0
- data/vendor/local/share/doc/groonga/en/html/{command_version.html → reference/command_version.html} +44 -44
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/cache_limit.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/check.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/clearlock.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_create.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_list.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_remove.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/define_selector.html +51 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/defrag.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/delete.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/dump.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/load.html +51 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_level.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_put.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_reopen.html +52 -52
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/quit.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +2340 -0
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/shutdown.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/status.html +67 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/suggest.html +246 -246
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_create.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_list.html +140 -72
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_remove.html +51 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/view_add.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands.html → reference/commands.html} +55 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +201 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +182 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +203 -0
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/grnslap.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/grntest.html +62 -62
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +367 -0
- data/vendor/local/share/doc/groonga/en/html/{executables/groonga-http.html → reference/executables/groonga-server-http.html} +46 -46
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/groonga-suggest-create-dataset.html +53 -53
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/groonga.html +54 -54
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +144 -0
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/edit_distance.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +551 -0
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/geo_in_circle.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/geo_in_rectangle.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/now.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/rand.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions.html +143 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +1365 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +1977 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +192 -0
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +318 -0
- data/vendor/local/share/doc/groonga/en/html/{log.html → reference/log.html} +42 -42
- data/vendor/local/share/doc/groonga/en/html/{output.html → reference/output.html} +39 -39
- data/vendor/local/share/doc/groonga/en/html/{pseudo_column.html → reference/pseudo_column.html} +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/{type.html → reference/type.html} +45 -45
- data/vendor/local/share/doc/groonga/en/html/reference.html +84 -76
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +135 -0
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +452 -0
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +136 -0
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +136 -0
- data/vendor/local/share/doc/groonga/en/html/server/http.html +168 -0
- data/vendor/local/share/doc/groonga/en/html/{functions.html → server.html} +26 -28
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/spec.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +340 -340
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +452 -36
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +382 -382
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +755 -79
- 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 +311 -311
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +561 -535
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +107 -107
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +145 -143
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +176 -176
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +415 -34
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +17 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +638 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +21 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +61 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +15 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +131 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +136 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +72 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +53 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +267 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +43 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +196 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +77 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +21 -346
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/0.x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +16 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +17 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +235 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/cast.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{command_version.txt → reference/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/cache_limit.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/check.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/clearlock.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_create.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_list.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_remove.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/defrag.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/delete.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/dump.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/load.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_level.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_put.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_reopen.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/quit.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +892 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/shutdown.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/status.txt +5 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/suggest.txt +8 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/table_create.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/table_list.txt +3 -26
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/table_remove.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/view_add.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands.txt → reference/commands.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/add.txt +104 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/get.txt +80 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/set.txt +105 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{executables → reference/executables}/grnslap.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +209 -0
- data/vendor/local/share/doc/groonga/{source/executables/groonga-http.txt → ja/html/_sources/reference/executables/groonga-server-http.txt} +3 -3
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/groonga-suggest-create-dataset.txt +1 -1
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/groonga.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/{executables.txt → reference/executables.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/edit_distance.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +284 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/geo_in_circle.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/now.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/rand.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions.txt → reference/functions.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +584 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +805 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +59 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{indexing.txt → reference/indexing.txt} +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/{log.txt → reference/log.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{output.txt → reference/output.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +8 -0
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/type.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +12 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/gqtp.txt +16 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +288 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga-httpd.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +29 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +12 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/correction.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +11 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +23 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +8 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -154
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +29 -21
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +22 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +67 -67
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +743 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +23 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +41 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +85 -50
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +180 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables.html → development.html} +25 -28
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +61 -61
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/index.html +167 -108
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +236 -0
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +250 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +190 -0
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +182 -0
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +348 -0
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +309 -0
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +186 -0
- data/vendor/local/share/doc/groonga/ja/html/install.html +83 -340
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +273 -40
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +112 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +135 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +112 -0
- data/vendor/local/share/doc/groonga/ja/html/{command_version.html → reference/command_version.html} +45 -45
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/cache_limit.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/check.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/clearlock.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_create.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_remove.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/define_selector.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/defrag.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/delete.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/dump.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/load.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_level.html +51 -51
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_put.html +51 -51
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_reopen.html +53 -53
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/quit.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +2134 -0
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/shutdown.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/status.html +68 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/suggest.html +254 -254
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_create.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_list.html +141 -73
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_remove.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/view_add.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands.html → reference/commands.html} +56 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +202 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +183 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +204 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/grnslap.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/grntest.html +63 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +339 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables/groonga-http.html → reference/executables/groonga-server-http.html} +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +187 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/groonga.html +55 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/edit_distance.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +510 -0
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/geo_in_circle.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/geo_in_rectangle.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/now.html +45 -45
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/rand.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions.html +144 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +1210 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +1819 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +169 -0
- data/vendor/local/share/doc/groonga/ja/html/{indexing.html → reference/indexing.html} +147 -147
- data/vendor/local/share/doc/groonga/ja/html/{log.html → reference/log.html} +55 -55
- data/vendor/local/share/doc/groonga/ja/html/{output.html → reference/output.html} +40 -40
- data/vendor/local/share/doc/groonga/ja/html/{pseudo_column.html → reference/pseudo_column.html} +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +135 -0
- data/vendor/local/share/doc/groonga/ja/html/{type.html → reference/type.html} +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference.html +84 -76
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +136 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +406 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +137 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +137 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +166 -0
- data/vendor/local/share/doc/groonga/ja/html/{functions.html → server.html} +26 -28
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/spec.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +15 -13
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +339 -339
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +452 -36
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +382 -382
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +756 -80
- 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 +311 -311
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +561 -535
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +108 -108
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +145 -143
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +176 -176
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +415 -34
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/source/community.txt +17 -0
- data/vendor/local/share/doc/groonga/source/conf.py +3 -16
- data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +638 -0
- data/vendor/local/share/doc/groonga/source/contribution/report.txt +21 -6
- data/vendor/local/share/doc/groonga/source/contribution.txt +0 -1
- data/vendor/local/share/doc/groonga/source/development/travis-ci.txt +61 -0
- data/vendor/local/share/doc/groonga/source/development.txt +15 -0
- data/vendor/local/share/doc/groonga/source/example/completion-1.log +29 -30
- data/vendor/local/share/doc/groonga/source/example/correction-1.log +29 -30
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_equal.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_less_than.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_negative.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_simple.log +32 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_simple.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_some_columns.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_weight.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_escalation_threshold.log +74 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/no_limit.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_negative.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_simple.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_asterisk.log +36 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_simple.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/paging.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_and.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_equal.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_complex.log +52 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitute.log +131 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitution_table.log +12 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_column.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_leading_not.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log +90 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_none.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_less_than.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_or.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_filter.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_query.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_usage.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_descending.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_score_with_query.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_simple.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/table_nonexistent.log +18 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/usage_setup.log +33 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/status.log +21 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-completion.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-correction.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-completion.log +12 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-correction.log +14 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-suggestion.log +8 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-mixed.log +77 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-suggestion.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +94 -0
- data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +21 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_ellipsoid.log +16 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_sphere.log +15 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_ellipsoid.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_rectangle.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_sphere.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_distance.log +13 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_location.log +16 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/setup.log +33 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_equal.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search_with_explicit_match_column.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than_or_equal_to.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_grouping.log +92 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than.log +53 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than_or_equal_to.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_and.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_not.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_or.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_not_equal.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search_with_explicit_match_column.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_prefix_search.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log +51 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_addition_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_and_operator.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_not_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_or_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_xor_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log +53 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_quotient.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_remainder.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_equal_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_function.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_grouping.log +92 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_left_shift_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_and_operator.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_but_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_or_operator.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_match_operator.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_multiplication_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_near_search_operator.log +52 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_not_equal_operator.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_prefix_search_operator.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_right_shift_operator.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_signed_right_shift_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_similar_search_operator.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_subtraction_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log +51 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_term_extract_operator.log +39 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_unsigned_right_shift_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-data.log +9 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-offline-index-construction.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-online-index-construction.log +8 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-schema.log +8 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-offline-index-construction.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-online-index-construction.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-without-index.log +27 -0
- data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +44 -45
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +53 -54
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +43 -44
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +43 -44
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +43 -44
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +44 -45
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +52 -53
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-1.log +21 -22
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-2.log +76 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-3.log +83 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-4.log +111 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-5.log +84 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-6.log +72 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +22 -23
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +103 -104
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +18 -19
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +82 -83
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +76 -77
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +37 -38
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +39 -40
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +0 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-10.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-11.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-12.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-13.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-14.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-15.log +127 -7
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-16.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-17.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-18.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +19 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-4.log +25 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-5.log +31 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-6.log +13 -14
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-7.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-8.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-9.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +19 -20
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +135 -136
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +17 -18
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +135 -136
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +57 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +96 -97
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +87 -88
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +71 -72
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +52 -53
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +56 -57
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +35 -36
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +19 -20
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-2.log +0 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +82 -83
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +41 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +98 -98
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +24 -25
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +68 -69
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +78 -79
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-1.log +29 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-2.log +82 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-3.log +148 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-4.log +41 -11
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-5.log +39 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-6.log +39 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-7.log +29 -3
- data/vendor/local/share/doc/groonga/source/index.txt +2 -0
- data/vendor/local/share/doc/groonga/source/install/centos.txt +131 -0
- data/vendor/local/share/doc/groonga/source/install/debian.txt +136 -0
- data/vendor/local/share/doc/groonga/source/install/fedora.txt +72 -0
- data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +53 -0
- data/vendor/local/share/doc/groonga/source/install/others.txt +267 -0
- data/vendor/local/share/doc/groonga/source/install/solaris.txt +43 -0
- data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +196 -0
- data/vendor/local/share/doc/groonga/source/install/windows.txt +77 -0
- data/vendor/local/share/doc/groonga/source/install.txt +21 -346
- data/vendor/local/share/doc/groonga/source/news/0.x.txt +3 -3
- data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +16 -16
- data/vendor/local/share/doc/groonga/source/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +17 -17
- data/vendor/local/share/doc/groonga/source/news.txt +235 -4
- data/vendor/local/share/doc/groonga/source/reference/api/grn_expr.txt +8 -0
- data/vendor/local/share/doc/groonga/source/reference/api.txt +8 -0
- data/vendor/local/share/doc/groonga/source/reference/cast.txt +8 -0
- data/vendor/local/share/doc/groonga/source/{command_version.txt → reference/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/cache_limit.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/check.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/clearlock.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_create.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_list.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_remove.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/defrag.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/delete.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/dump.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_level.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_put.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_reopen.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/quit.txt +0 -0
- data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +892 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/shutdown.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/status.txt +5 -6
- data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/commands/suggest.txt +8 -8
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/table_create.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/table_list.txt +3 -26
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/table_remove.txt +3 -3
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/view_add.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands.txt → reference/commands.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/add.txt +104 -0
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/get.txt +80 -0
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/set.txt +105 -0
- data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/grnslap.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga-httpd.txt +209 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources/executables/groonga-http.txt → source/reference/executables/groonga-server-http.txt} +3 -3
- data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/groonga-suggest-create-dataset.txt +1 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/executables/groonga.txt +4 -4
- data/vendor/local/share/doc/groonga/source/{executables.txt → reference/executables.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/edit_distance.txt +0 -0
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +284 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/geo_in_circle.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/now.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/rand.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions.txt → reference/functions.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/query_syntax.txt +584 -0
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +805 -0
- data/vendor/local/share/doc/groonga/source/reference/grn_expr.txt +59 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/indexing.txt +7 -7
- data/vendor/local/share/doc/groonga/source/{log.txt → reference/log.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{output.txt → reference/output.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/reference/tokenizers.txt +8 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/type.txt +4 -4
- data/vendor/local/share/doc/groonga/source/reference.txt +12 -9
- data/vendor/local/share/doc/groonga/source/server/gqtp.txt +16 -0
- data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +288 -0
- data/vendor/local/share/doc/groonga/source/server/http/groonga-httpd.txt +8 -0
- data/vendor/local/share/doc/groonga/source/server/http/groonga.txt +8 -0
- data/vendor/local/share/doc/groonga/source/server/http.txt +29 -0
- data/vendor/local/share/doc/groonga/source/server.txt +12 -0
- data/vendor/local/share/doc/groonga/source/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/source/spec.txt +2 -2
- data/vendor/local/share/doc/groonga/source/suggest/completion.txt +1 -1
- data/vendor/local/share/doc/groonga/source/suggest/correction.txt +2 -2
- data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +2 -0
- data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/source/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/source/tutorial/data.txt +11 -11
- data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +23 -23
- data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +3 -1
- data/vendor/local/share/doc/groonga/source/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +8 -6
- data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/source/tutorial/search.txt +3 -3
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +10 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +12354 -3896
- data/vendor/local/share/man/man1/groonga.1 +16934 -7750
- 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 +1251 -905
- data/lib/groonga/query-log.rb +0 -348
- data/vendor/local/share/doc/groonga/en/html/_sources/commands/select.txt +0 -504
- data/vendor/local/share/doc/groonga/en/html/_sources/expr.txt +0 -45
- data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_distance.txt +0 -92
- data/vendor/local/share/doc/groonga/en/html/commands/select.html +0 -891
- data/vendor/local/share/doc/groonga/en/html/expr.html +0 -178
- data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +0 -226
- data/vendor/local/share/doc/groonga/en/html/indexing.html +0 -318
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/select.txt +0 -504
- data/vendor/local/share/doc/groonga/ja/html/_sources/expr.txt +0 -45
- data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_distance.txt +0 -92
- data/vendor/local/share/doc/groonga/ja/html/commands/select.html +0 -810
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +0 -187
- data/vendor/local/share/doc/groonga/ja/html/expr.html +0 -179
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +0 -227
- data/vendor/local/share/doc/groonga/source/commands/select.txt +0 -504
- data/vendor/local/share/doc/groonga/source/commands/suggest-completion.log +0 -32
- data/vendor/local/share/doc/groonga/source/commands/suggest-correction.log +0 -32
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-completion.log +0 -13
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-correction.log +0 -15
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-suggestion.log +0 -9
- data/vendor/local/share/doc/groonga/source/commands/suggest-mixed.log +0 -78
- data/vendor/local/share/doc/groonga/source/commands/suggest-suggestion.log +0 -36
- data/vendor/local/share/doc/groonga/source/expr.txt +0 -45
- data/vendor/local/share/doc/groonga/source/functions/geo_distance.txt +0 -92
@@ -0,0 +1,1977 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
|
8
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
9
|
+
<head>
|
10
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
|
+
|
12
|
+
<title>8.8.2. Script syntax — groonga v2.0.5-316-g23cc017 documentation</title>
|
13
|
+
|
14
|
+
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
15
|
+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
var DOCUMENTATION_OPTIONS = {
|
19
|
+
URL_ROOT: '../../',
|
20
|
+
VERSION: '2.0.5-316-g23cc017',
|
21
|
+
COLLAPSE_INDEX: false,
|
22
|
+
FILE_SUFFIX: '.html',
|
23
|
+
HAS_SOURCE: true
|
24
|
+
};
|
25
|
+
</script>
|
26
|
+
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
27
|
+
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
28
|
+
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
29
|
+
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
30
|
+
<link rel="top" title="groonga v2.0.5-316-g23cc017 documentation" href="../../index.html" />
|
31
|
+
<link rel="up" title="8.8. grn_expr" href="../grn_expr.html" />
|
32
|
+
<link rel="next" title="8.9. 組み込み関数一覧" href="../functions.html" />
|
33
|
+
<link rel="prev" title="8.8.1. Query syntax" href="query_syntax.html" />
|
34
|
+
</head>
|
35
|
+
<body>
|
36
|
+
<div class="header">
|
37
|
+
<h1 class="title">
|
38
|
+
<a id="top-link" href="../../index.html">
|
39
|
+
<span class="project">groonga</span>
|
40
|
+
<span class="separator">-</span>
|
41
|
+
<span class="description">An open-source fulltext search engine and column store.</span>
|
42
|
+
</a>
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<div class="other-language-links">
|
46
|
+
<ul>
|
47
|
+
<li><a href="../../../../ja/html/reference/grn_expr/script_syntax.html"><img src="../../_static/jp.png" alt="日本語">日本語版はこちら</a></li>
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
|
53
|
+
<div class="related">
|
54
|
+
<h3>Navigation</h3>
|
55
|
+
<ul>
|
56
|
+
<li class="right" style="margin-right: 10px">
|
57
|
+
<a href="../../genindex.html" title="General Index"
|
58
|
+
accesskey="I">index</a></li>
|
59
|
+
<li class="right" >
|
60
|
+
<a href="../functions.html" title="8.9. 組み込み関数一覧"
|
61
|
+
accesskey="N">next</a> |</li>
|
62
|
+
<li class="right" >
|
63
|
+
<a href="query_syntax.html" title="8.8.1. Query syntax"
|
64
|
+
accesskey="P">previous</a> |</li>
|
65
|
+
<li><a href="../../index.html">groonga v2.0.5-316-g23cc017 documentation</a> »</li>
|
66
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
67
|
+
<li><a href="../grn_expr.html" accesskey="U">8.8. grn_expr</a> »</li>
|
68
|
+
</ul>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
<div class="document">
|
72
|
+
<div class="documentwrapper">
|
73
|
+
<div class="bodywrapper">
|
74
|
+
<div class="body">
|
75
|
+
|
76
|
+
<div class="section" id="script-syntax">
|
77
|
+
<h1>8.8.2. Script syntax<a class="headerlink" href="#script-syntax" title="Permalink to this headline">¶</a></h1>
|
78
|
+
<p>Script syntax is a syntax to specify complex search condition. It is
|
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
|
+
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
|
81
|
+
are string in <a class="reference internal" href="query_syntax.html"><em>Query syntax</em></a> but its own type in script
|
82
|
+
syntax. For example, <tt class="docutils literal"><span class="pre">"book"</span></tt> is string, <tt class="docutils literal"><span class="pre">1</span></tt> is integer,
|
83
|
+
<tt class="docutils literal"><span class="pre">TokenBigram</span></tt> is the object whose name is <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> and so on.</p>
|
84
|
+
<p>Script syntax doesn't support full ECMAScript syntax. For example,
|
85
|
+
script syntax doesn't support statement such as <tt class="docutils literal"><span class="pre">if</span></tt> control
|
86
|
+
statement, <tt class="docutils literal"><span class="pre">for</span></tt> iteration statement and variable definition
|
87
|
+
statement. Function definion is not supported too. But script syntax
|
88
|
+
addes the original additional operators. They are described after
|
89
|
+
ECMAScript syntax is described.</p>
|
90
|
+
<div class="section" id="sample-data">
|
91
|
+
<h2>8.8.2.1. Sample data<a class="headerlink" href="#sample-data" title="Permalink to this headline">¶</a></h2>
|
92
|
+
<p>Here are a schema definition and sample data to show usage.</p>
|
93
|
+
<p>Execution example:</p>
|
94
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Entries TABLE_PAT_KEY ShortText
|
95
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
96
|
+
column_create Entries content COLUMN_SCALAR Text
|
97
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
98
|
+
column_create Entries n_likes COLUMN_SCALAR UInt32
|
99
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
100
|
+
table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
101
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
102
|
+
column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
|
103
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
104
|
+
column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
|
105
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
106
|
+
load --table Entries
|
107
|
+
[
|
108
|
+
{"_key": "The first post!",
|
109
|
+
"content": "Welcome! This is my first post!",
|
110
|
+
"n_likes": 5},
|
111
|
+
{"_key": "Groonga",
|
112
|
+
"content": "I started to use groonga. It's very fast!",
|
113
|
+
"n_likes": 10},
|
114
|
+
{"_key": "Mroonga",
|
115
|
+
"content": "I also started to use mroonga. It's also very fast! Really fast!",
|
116
|
+
"n_likes": 15},
|
117
|
+
{"_key": "Good-bye Senna",
|
118
|
+
"content": "I migrated all Senna system!",
|
119
|
+
"n_likes": 3},
|
120
|
+
{"_key": "Good-bye Tritonn",
|
121
|
+
"content": "I also migrated all Tritonn system!",
|
122
|
+
"n_likes": 3}
|
123
|
+
]
|
124
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
125
|
+
</pre></div>
|
126
|
+
</div>
|
127
|
+
<p>There is a table, <tt class="docutils literal"><span class="pre">Entries</span></tt>, for blog entries. An entry has title,
|
128
|
+
content and the number of likes for the entry. Title is key of
|
129
|
+
<tt class="docutils literal"><span class="pre">Entries</span></tt>. Content is value of <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. The
|
130
|
+
number of likes is value of <tt class="docutils literal"><span class="pre">Entries.n_likes</span></tt> column.</p>
|
131
|
+
<p><tt class="docutils literal"><span class="pre">Entries._key</span></tt> column and <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column are indexed
|
132
|
+
using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tokenizer. So both <tt class="docutils literal"><span class="pre">Entries._key</span></tt> and
|
133
|
+
<tt class="docutils literal"><span class="pre">Entries.content</span></tt> are fulltext search ready.</p>
|
134
|
+
<p>OK. The schema and data for examples are ready.</p>
|
135
|
+
</div>
|
136
|
+
<div class="section" id="literals">
|
137
|
+
<h2>8.8.2.2. Literals<a class="headerlink" href="#literals" title="Permalink to this headline">¶</a></h2>
|
138
|
+
<div class="section" id="integer">
|
139
|
+
<h3>8.8.2.2.1. Integer<a class="headerlink" href="#integer" title="Permalink to this headline">¶</a></h3>
|
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
|
+
<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
|
+
<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,
|
143
|
+
hex and so on can't be used.</p>
|
144
|
+
<p>The maximum value of integer literal is <tt class="docutils literal"><span class="pre">9223372036854775807</span></tt> (<tt class="docutils literal"><span class="pre">=</span> <span class="pre">2</span>
|
145
|
+
<span class="pre">**</span> <span class="pre">63</span> <span class="pre">-</span> <span class="pre">1</span></tt>). The minimum value of integer literal is
|
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
|
+
</div>
|
148
|
+
<div class="section" id="float">
|
149
|
+
<h3>8.8.2.2.2. Float<a class="headerlink" href="#float" title="Permalink to this headline">¶</a></h3>
|
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
|
+
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
|
+
<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
|
153
|
+
<tt class="docutils literal"><span class="pre">${RADIX}E${EXPORNENTIAL}</span></tt> formats are also supported. For example,
|
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
|
+
</div>
|
156
|
+
<div class="section" id="string">
|
157
|
+
<h3>8.8.2.2.3. String<a class="headerlink" href="#string" title="Permalink to this headline">¶</a></h3>
|
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
|
+
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
|
+
a literal for <tt class="docutils literal"><span class="pre">Say</span> <span class="pre">"Hello!".</span></tt> string.</p>
|
161
|
+
<p>String encoding must be the same as encoding of database. The default
|
162
|
+
encoding is UTF-8. It can be changed by <tt class="docutils literal"><span class="pre">--with-default-encoding</span></tt>
|
163
|
+
configure option, <tt class="docutils literal"><span class="pre">--encodiong</span></tt> <a class="reference internal" href="../executables/groonga.html"><em>groonga command</em></a> option
|
164
|
+
and so on.</p>
|
165
|
+
</div>
|
166
|
+
<div class="section" id="boolean">
|
167
|
+
<h3>8.8.2.2.4. Boolean<a class="headerlink" href="#boolean" title="Permalink to this headline">¶</a></h3>
|
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
|
+
<tt class="docutils literal"><span class="pre">false</span></tt> means false.</p>
|
170
|
+
</div>
|
171
|
+
<div class="section" id="null">
|
172
|
+
<h3>8.8.2.2.5. Null<a class="headerlink" href="#null" title="Permalink to this headline">¶</a></h3>
|
173
|
+
<p>Null literal is <tt class="docutils literal"><span class="pre">null</span></tt>. Groonga doesn't support null value but null
|
174
|
+
literal is supported.</p>
|
175
|
+
</div>
|
176
|
+
<div class="section" id="time">
|
177
|
+
<h3>8.8.2.2.6. Time<a class="headerlink" href="#time" title="Permalink to this headline">¶</a></h3>
|
178
|
+
<div class="admonition note">
|
179
|
+
<p class="first admonition-title">Note</p>
|
180
|
+
<p class="last">This is the groonga original notation.</p>
|
181
|
+
</div>
|
182
|
+
<p>Time literal doesn't exit. There are string time notation, integer
|
183
|
+
time notation and float time notation.</p>
|
184
|
+
<p>String time notation is <tt class="docutils literal"><span class="pre">"YYYY/MM/DD</span> <span class="pre">hh:mm:ss.uuuuuu"</span></tt> or
|
185
|
+
<tt class="docutils literal"><span class="pre">"YYYY-MM-DD</span> <span class="pre">hh:mm:ss.uuuuuu"</span></tt>. <tt class="docutils literal"><span class="pre">YYYY</span></tt> is year, <tt class="docutils literal"><span class="pre">MM</span></tt> is month,
|
186
|
+
<tt class="docutils literal"><span class="pre">DD</span></tt> is day, <tt class="docutils literal"><span class="pre">hh</span></tt> is hour, <tt class="docutils literal"><span class="pre">mm</span></tt> is minute, <tt class="docutils literal"><span class="pre">ss</span></tt> is second and
|
187
|
+
<tt class="docutils literal"><span class="pre">uuuuuu</span></tt> is micro second. It is local time. For example,
|
188
|
+
<tt class="docutils literal"><span class="pre">"2012/07/23</span> <span class="pre">02:41:10.436218"</span></tt> is <tt class="docutils literal"><span class="pre">2012-07-23T02:41:10.436218</span></tt> in
|
189
|
+
ISO 8601 format.</p>
|
190
|
+
<p>Integer time notation is the number of seconds that have elapsed since
|
191
|
+
midnight UTC, January 1, 1970. It is also known as POSIX time. For
|
192
|
+
example, <tt class="docutils literal"><span class="pre">1343011270</span></tt> is <tt class="docutils literal"><span class="pre">2012-07-23T02:41:10Z</span></tt> in ISO 8601 format.</p>
|
193
|
+
<p>Float time notation is the number of seconds and micro seconds that
|
194
|
+
have elapsed since midnight UTC, January 1, 1970. For example,
|
195
|
+
<tt class="docutils literal"><span class="pre">1343011270.436218</span></tt> is <tt class="docutils literal"><span class="pre">2012-07-23T02:41:10.436218Z</span></tt> in ISO 8601
|
196
|
+
format.</p>
|
197
|
+
</div>
|
198
|
+
<div class="section" id="geo-point">
|
199
|
+
<h3>8.8.2.2.7. Geo point<a class="headerlink" href="#geo-point" title="Permalink to this headline">¶</a></h3>
|
200
|
+
<div class="admonition note">
|
201
|
+
<p class="first admonition-title">Note</p>
|
202
|
+
<p class="last">This is the groonga original notation.</p>
|
203
|
+
</div>
|
204
|
+
<p>Geo point literal doesn't exist. There is string geo point notation.</p>
|
205
|
+
<p>String geo point notation has the following patterns:</p>
|
206
|
+
<blockquote>
|
207
|
+
<div><ul class="simple">
|
208
|
+
<li><tt class="docutils literal"><span class="pre">"LATITUDE_IN_MSECxLONGITUDE_IN_MSEC"</span></tt></li>
|
209
|
+
<li><tt class="docutils literal"><span class="pre">"LATITUDE_IN_MSEC,LONGITUDE_IN_MSEC"</span></tt></li>
|
210
|
+
<li><tt class="docutils literal"><span class="pre">"LATITUDE_IN_DEGREExLONGITUDE_IN_DEGREE"</span></tt></li>
|
211
|
+
<li><tt class="docutils literal"><span class="pre">"LATITUDE_IN_DEGREE,LONGITUDE_IN_DEGREE"</span></tt></li>
|
212
|
+
</ul>
|
213
|
+
</div></blockquote>
|
214
|
+
<p><tt class="docutils literal"><span class="pre">x</span></tt> and <tt class="docutils literal"><span class="pre">,</span></tt> can be used for separator. Latitude and longitude can
|
215
|
+
be represented in milliseconds or degree.</p>
|
216
|
+
</div>
|
217
|
+
<div class="section" id="array">
|
218
|
+
<h3>8.8.2.2.8. Array<a class="headerlink" href="#array" title="Permalink to this headline">¶</a></h3>
|
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
|
+
</div>
|
221
|
+
<div class="section" id="object-literal">
|
222
|
+
<h3>8.8.2.2.9. Object literal<a class="headerlink" href="#object-literal" title="Permalink to this headline">¶</a></h3>
|
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
|
+
doesn't support object literal yet.</p>
|
225
|
+
</div>
|
226
|
+
</div>
|
227
|
+
<div class="section" id="control-syntaxes">
|
228
|
+
<h2>8.8.2.3. Control syntaxes<a class="headerlink" href="#control-syntaxes" title="Permalink to this headline">¶</a></h2>
|
229
|
+
<p>Script syntax doesn't support statement. So you cannot use control
|
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
|
+
control syntax.</p>
|
232
|
+
<p><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> returns <tt class="docutils literal"><span class="pre">B</span></tt> if <tt class="docutils literal"><span class="pre">A</span></tt> is true, <tt class="docutils literal"><span class="pre">C</span></tt> otherwise.</p>
|
233
|
+
<p>Here is a simple exmaple.</p>
|
234
|
+
<p>Execution example:</p>
|
235
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (_id == 1 ? 5 : 3)'
|
236
|
+
# [
|
237
|
+
# [
|
238
|
+
# 0,
|
239
|
+
# 1337566253.89858,
|
240
|
+
# 0.000355720520019531
|
241
|
+
# ],
|
242
|
+
# [
|
243
|
+
# [
|
244
|
+
# [
|
245
|
+
# 3
|
246
|
+
# ],
|
247
|
+
# [
|
248
|
+
# [
|
249
|
+
# "_id",
|
250
|
+
# "UInt32"
|
251
|
+
# ],
|
252
|
+
# [
|
253
|
+
# "_key",
|
254
|
+
# "ShortText"
|
255
|
+
# ],
|
256
|
+
# [
|
257
|
+
# "content",
|
258
|
+
# "Text"
|
259
|
+
# ],
|
260
|
+
# [
|
261
|
+
# "n_likes",
|
262
|
+
# "UInt32"
|
263
|
+
# ]
|
264
|
+
# ],
|
265
|
+
# [
|
266
|
+
# 4,
|
267
|
+
# "Good-bye Senna",
|
268
|
+
# "I migrated all Senna system!",
|
269
|
+
# 3
|
270
|
+
# ],
|
271
|
+
# [
|
272
|
+
# 5,
|
273
|
+
# "Good-bye Tritonn",
|
274
|
+
# "I also migrated all Tritonn system!",
|
275
|
+
# 3
|
276
|
+
# ],
|
277
|
+
# [
|
278
|
+
# 1,
|
279
|
+
# "The first post!",
|
280
|
+
# "Welcome! This is my first post!",
|
281
|
+
# 5
|
282
|
+
# ]
|
283
|
+
# ]
|
284
|
+
# ]
|
285
|
+
# ]
|
286
|
+
</pre></div>
|
287
|
+
</div>
|
288
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">_id</span></tt> column value is equal to <tt class="docutils literal"><span class="pre">1</span></tt>
|
289
|
+
and <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal to <tt class="docutils literal"><span class="pre">5</span></tt> or <tt class="docutils literal"><span class="pre">_id</span></tt> column value is
|
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
|
+
</div>
|
292
|
+
<div class="section" id="grouping">
|
293
|
+
<h2>8.8.2.4. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h2>
|
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
|
+
<p><tt class="docutils literal"><span class="pre">(...)</span></tt> groups one ore more expressions and they can be processed as
|
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
|
297
|
+
or <tt class="docutils literal"><span class="pre">c</span></tt> is matched. <tt class="docutils literal"><span class="pre">a</span> <span class="pre">&&</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 one of
|
298
|
+
<tt class="docutils literal"><span class="pre">b</span></tt> and <tt class="docutils literal"><span class="pre">c</span></tt> are matched.</p>
|
299
|
+
<p>Here is a simple exmaple.</p>
|
300
|
+
<p>Execution example:</p>
|
301
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes < 5 && content @ "senna" || content @ "fast"'
|
302
|
+
# [
|
303
|
+
# [
|
304
|
+
# 0,
|
305
|
+
# 1337566253.89858,
|
306
|
+
# 0.000355720520019531
|
307
|
+
# ],
|
308
|
+
# [
|
309
|
+
# [
|
310
|
+
# [
|
311
|
+
# 3
|
312
|
+
# ],
|
313
|
+
# [
|
314
|
+
# [
|
315
|
+
# "_id",
|
316
|
+
# "UInt32"
|
317
|
+
# ],
|
318
|
+
# [
|
319
|
+
# "_key",
|
320
|
+
# "ShortText"
|
321
|
+
# ],
|
322
|
+
# [
|
323
|
+
# "content",
|
324
|
+
# "Text"
|
325
|
+
# ],
|
326
|
+
# [
|
327
|
+
# "n_likes",
|
328
|
+
# "UInt32"
|
329
|
+
# ]
|
330
|
+
# ],
|
331
|
+
# [
|
332
|
+
# 4,
|
333
|
+
# "Good-bye Senna",
|
334
|
+
# "I migrated all Senna system!",
|
335
|
+
# 3
|
336
|
+
# ],
|
337
|
+
# [
|
338
|
+
# 2,
|
339
|
+
# "Groonga",
|
340
|
+
# "I started to use groonga. It's very fast!",
|
341
|
+
# 10
|
342
|
+
# ],
|
343
|
+
# [
|
344
|
+
# 3,
|
345
|
+
# "Mroonga",
|
346
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
347
|
+
# 15
|
348
|
+
# ]
|
349
|
+
# ]
|
350
|
+
# ]
|
351
|
+
# ]
|
352
|
+
select Entries --filter 'n_likes < 5 && (content @ "senna" || content @ "fast")'
|
353
|
+
# [
|
354
|
+
# [
|
355
|
+
# 0,
|
356
|
+
# 1337566253.89858,
|
357
|
+
# 0.000355720520019531
|
358
|
+
# ],
|
359
|
+
# [
|
360
|
+
# [
|
361
|
+
# [
|
362
|
+
# 1
|
363
|
+
# ],
|
364
|
+
# [
|
365
|
+
# [
|
366
|
+
# "_id",
|
367
|
+
# "UInt32"
|
368
|
+
# ],
|
369
|
+
# [
|
370
|
+
# "_key",
|
371
|
+
# "ShortText"
|
372
|
+
# ],
|
373
|
+
# [
|
374
|
+
# "content",
|
375
|
+
# "Text"
|
376
|
+
# ],
|
377
|
+
# [
|
378
|
+
# "n_likes",
|
379
|
+
# "UInt32"
|
380
|
+
# ]
|
381
|
+
# ],
|
382
|
+
# [
|
383
|
+
# 4,
|
384
|
+
# "Good-bye Senna",
|
385
|
+
# "I migrated all Senna system!",
|
386
|
+
# 3
|
387
|
+
# ]
|
388
|
+
# ]
|
389
|
+
# ]
|
390
|
+
# ]
|
391
|
+
</pre></div>
|
392
|
+
</div>
|
393
|
+
<p>The first expression doesn't use grouping. It matches records that
|
394
|
+
<tt class="docutils literal"><span class="pre">n_likes</span> <span class="pre"><</span> <span class="pre">5</span></tt> and <tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"senna"</span></tt> are matched or
|
395
|
+
<tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"fast"</span></tt> is matched.</p>
|
396
|
+
<p>The second expression uses grouping. It matches records that <tt class="docutils literal"><span class="pre">n_likes</span>
|
397
|
+
<span class="pre"><</span> <span class="pre">5</span></tt> and one of <tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"senna"</span></tt> or <tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"fast"</span></tt> are
|
398
|
+
matched.</p>
|
399
|
+
</div>
|
400
|
+
<div class="section" id="function-call">
|
401
|
+
<h2>8.8.2.5. Function call<a class="headerlink" href="#function-call" title="Permalink to this headline">¶</a></h2>
|
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
|
+
<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
|
+
<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 <a class="reference internal" href="../functions.html"><em>組み込み関数一覧</em></a> for available functin list.</p>
|
406
|
+
<p>Here is a simple exmaple.</p>
|
407
|
+
<p>Execution example:</p>
|
408
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'edit_distance(_key, "Groonga") <= 1'
|
409
|
+
# [
|
410
|
+
# [
|
411
|
+
# 0,
|
412
|
+
# 1337566253.89858,
|
413
|
+
# 0.000355720520019531
|
414
|
+
# ],
|
415
|
+
# [
|
416
|
+
# [
|
417
|
+
# [
|
418
|
+
# 2
|
419
|
+
# ],
|
420
|
+
# [
|
421
|
+
# [
|
422
|
+
# "_id",
|
423
|
+
# "UInt32"
|
424
|
+
# ],
|
425
|
+
# [
|
426
|
+
# "_key",
|
427
|
+
# "ShortText"
|
428
|
+
# ],
|
429
|
+
# [
|
430
|
+
# "content",
|
431
|
+
# "Text"
|
432
|
+
# ],
|
433
|
+
# [
|
434
|
+
# "n_likes",
|
435
|
+
# "UInt32"
|
436
|
+
# ]
|
437
|
+
# ],
|
438
|
+
# [
|
439
|
+
# 2,
|
440
|
+
# "Groonga",
|
441
|
+
# "I started to use groonga. It's very fast!",
|
442
|
+
# 10
|
443
|
+
# ],
|
444
|
+
# [
|
445
|
+
# 3,
|
446
|
+
# "Mroonga",
|
447
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
448
|
+
# 15
|
449
|
+
# ]
|
450
|
+
# ]
|
451
|
+
# ]
|
452
|
+
# ]
|
453
|
+
</pre></div>
|
454
|
+
</div>
|
455
|
+
<p>The expression uses <a class="reference internal" href="../functions/edit_distance.html"><em>edit_distance</em></a>. It
|
456
|
+
matches records that <tt class="docutils literal"><span class="pre">_key</span></tt> column value is similar to
|
457
|
+
<tt class="docutils literal"><span class="pre">"Groonga"</span></tt>. Similality of <tt class="docutils literal"><span class="pre">"Groonga"</span></tt> is computed as edit
|
458
|
+
distance. If edit distance is less than or equal to 1, the value is
|
459
|
+
treated as similar. In this case, <tt class="docutils literal"><span class="pre">"Groonga"</span></tt> and <tt class="docutils literal"><span class="pre">"Mroonga"</span></tt> are
|
460
|
+
treated as similar.</p>
|
461
|
+
</div>
|
462
|
+
<div class="section" id="basic-operators">
|
463
|
+
<h2>8.8.2.6. Basic operators<a class="headerlink" href="#basic-operators" title="Permalink to this headline">¶</a></h2>
|
464
|
+
<p>Groonga supports operators defined in ECMAScript.</p>
|
465
|
+
<div class="section" id="arithmetic-operators">
|
466
|
+
<h3>8.8.2.6.1. Arithmetic operators<a class="headerlink" href="#arithmetic-operators" title="Permalink to this headline">¶</a></h3>
|
467
|
+
<p>Here are arithmetic operators.</p>
|
468
|
+
<div class="section" id="addition-operator">
|
469
|
+
<h4>8.8.2.6.1.1. Addition operator<a class="headerlink" href="#addition-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<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
|
+
<p>Here is a simple example.</p>
|
473
|
+
<p>Execution example:</p>
|
474
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 10 + 5'
|
475
|
+
# [
|
476
|
+
# [
|
477
|
+
# 0,
|
478
|
+
# 1337566253.89858,
|
479
|
+
# 0.000355720520019531
|
480
|
+
# ],
|
481
|
+
# [
|
482
|
+
# [
|
483
|
+
# [
|
484
|
+
# 1
|
485
|
+
# ],
|
486
|
+
# [
|
487
|
+
# [
|
488
|
+
# "_id",
|
489
|
+
# "UInt32"
|
490
|
+
# ],
|
491
|
+
# [
|
492
|
+
# "_key",
|
493
|
+
# "ShortText"
|
494
|
+
# ],
|
495
|
+
# [
|
496
|
+
# "content",
|
497
|
+
# "Text"
|
498
|
+
# ],
|
499
|
+
# [
|
500
|
+
# "n_likes",
|
501
|
+
# "UInt32"
|
502
|
+
# ]
|
503
|
+
# ],
|
504
|
+
# [
|
505
|
+
# 3,
|
506
|
+
# "Mroonga",
|
507
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
508
|
+
# 15
|
509
|
+
# ]
|
510
|
+
# ]
|
511
|
+
# ]
|
512
|
+
# ]
|
513
|
+
</pre></div>
|
514
|
+
</div>
|
515
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
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
|
+
</div>
|
518
|
+
<div class="section" id="subtraction-operator">
|
519
|
+
<h4>8.8.2.6.1.2. Subtraction operator<a class="headerlink" href="#subtraction-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<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
|
+
<p>Here is a simple example.</p>
|
523
|
+
<p>Execution example:</p>
|
524
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 20 - 5'
|
525
|
+
# [
|
526
|
+
# [
|
527
|
+
# 0,
|
528
|
+
# 1337566253.89858,
|
529
|
+
# 0.000355720520019531
|
530
|
+
# ],
|
531
|
+
# [
|
532
|
+
# [
|
533
|
+
# [
|
534
|
+
# 1
|
535
|
+
# ],
|
536
|
+
# [
|
537
|
+
# [
|
538
|
+
# "_id",
|
539
|
+
# "UInt32"
|
540
|
+
# ],
|
541
|
+
# [
|
542
|
+
# "_key",
|
543
|
+
# "ShortText"
|
544
|
+
# ],
|
545
|
+
# [
|
546
|
+
# "content",
|
547
|
+
# "Text"
|
548
|
+
# ],
|
549
|
+
# [
|
550
|
+
# "n_likes",
|
551
|
+
# "UInt32"
|
552
|
+
# ]
|
553
|
+
# ],
|
554
|
+
# [
|
555
|
+
# 3,
|
556
|
+
# "Mroonga",
|
557
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
558
|
+
# 15
|
559
|
+
# ]
|
560
|
+
# ]
|
561
|
+
# ]
|
562
|
+
# ]
|
563
|
+
</pre></div>
|
564
|
+
</div>
|
565
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
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
|
+
</div>
|
568
|
+
<div class="section" id="multiplication-operator">
|
569
|
+
<h4>8.8.2.6.1.3. Multiplication operator<a class="headerlink" href="#multiplication-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<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
|
+
<p>Here is a simple example.</p>
|
573
|
+
<p>Execution example:</p>
|
574
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 3 * 5'
|
575
|
+
# [
|
576
|
+
# [
|
577
|
+
# 0,
|
578
|
+
# 1337566253.89858,
|
579
|
+
# 0.000355720520019531
|
580
|
+
# ],
|
581
|
+
# [
|
582
|
+
# [
|
583
|
+
# [
|
584
|
+
# 1
|
585
|
+
# ],
|
586
|
+
# [
|
587
|
+
# [
|
588
|
+
# "_id",
|
589
|
+
# "UInt32"
|
590
|
+
# ],
|
591
|
+
# [
|
592
|
+
# "_key",
|
593
|
+
# "ShortText"
|
594
|
+
# ],
|
595
|
+
# [
|
596
|
+
# "content",
|
597
|
+
# "Text"
|
598
|
+
# ],
|
599
|
+
# [
|
600
|
+
# "n_likes",
|
601
|
+
# "UInt32"
|
602
|
+
# ]
|
603
|
+
# ],
|
604
|
+
# [
|
605
|
+
# 3,
|
606
|
+
# "Mroonga",
|
607
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
608
|
+
# 15
|
609
|
+
# ]
|
610
|
+
# ]
|
611
|
+
# ]
|
612
|
+
# ]
|
613
|
+
</pre></div>
|
614
|
+
</div>
|
615
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
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
|
+
</div>
|
618
|
+
<div class="section" id="division-operator">
|
619
|
+
<h4>8.8.2.6.1.4. Division operator<a class="headerlink" href="#division-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<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
|
+
quotient of result. <tt class="docutils literal"><span class="pre">%</span></tt> returns the remainder of result.</p>
|
623
|
+
<p>Here is simple examples.</p>
|
624
|
+
<p>Execution example:</p>
|
625
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 26 / 7'
|
626
|
+
# [
|
627
|
+
# [
|
628
|
+
# 0,
|
629
|
+
# 1337566253.89858,
|
630
|
+
# 0.000355720520019531
|
631
|
+
# ],
|
632
|
+
# [
|
633
|
+
# [
|
634
|
+
# [
|
635
|
+
# 2
|
636
|
+
# ],
|
637
|
+
# [
|
638
|
+
# [
|
639
|
+
# "_id",
|
640
|
+
# "UInt32"
|
641
|
+
# ],
|
642
|
+
# [
|
643
|
+
# "_key",
|
644
|
+
# "ShortText"
|
645
|
+
# ],
|
646
|
+
# [
|
647
|
+
# "content",
|
648
|
+
# "Text"
|
649
|
+
# ],
|
650
|
+
# [
|
651
|
+
# "n_likes",
|
652
|
+
# "UInt32"
|
653
|
+
# ]
|
654
|
+
# ],
|
655
|
+
# [
|
656
|
+
# 4,
|
657
|
+
# "Good-bye Senna",
|
658
|
+
# "I migrated all Senna system!",
|
659
|
+
# 3
|
660
|
+
# ],
|
661
|
+
# [
|
662
|
+
# 5,
|
663
|
+
# "Good-bye Tritonn",
|
664
|
+
# "I also migrated all Tritonn system!",
|
665
|
+
# 3
|
666
|
+
# ]
|
667
|
+
# ]
|
668
|
+
# ]
|
669
|
+
# ]
|
670
|
+
</pre></div>
|
671
|
+
</div>
|
672
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
673
|
+
to <tt class="docutils literal"><span class="pre">3</span></tt> (= <tt class="docutils literal"><span class="pre">26</span> <span class="pre">/</span> <span class="pre">7</span></tt>).</p>
|
674
|
+
<p>Execution example:</p>
|
675
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 26 % 7'
|
676
|
+
# [
|
677
|
+
# [
|
678
|
+
# 0,
|
679
|
+
# 1337566253.89858,
|
680
|
+
# 0.000355720520019531
|
681
|
+
# ],
|
682
|
+
# [
|
683
|
+
# [
|
684
|
+
# [
|
685
|
+
# 1
|
686
|
+
# ],
|
687
|
+
# [
|
688
|
+
# [
|
689
|
+
# "_id",
|
690
|
+
# "UInt32"
|
691
|
+
# ],
|
692
|
+
# [
|
693
|
+
# "_key",
|
694
|
+
# "ShortText"
|
695
|
+
# ],
|
696
|
+
# [
|
697
|
+
# "content",
|
698
|
+
# "Text"
|
699
|
+
# ],
|
700
|
+
# [
|
701
|
+
# "n_likes",
|
702
|
+
# "UInt32"
|
703
|
+
# ]
|
704
|
+
# ],
|
705
|
+
# [
|
706
|
+
# 1,
|
707
|
+
# "The first post!",
|
708
|
+
# "Welcome! This is my first post!",
|
709
|
+
# 5
|
710
|
+
# ]
|
711
|
+
# ]
|
712
|
+
# ]
|
713
|
+
# ]
|
714
|
+
</pre></div>
|
715
|
+
</div>
|
716
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
717
|
+
to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="docutils literal"><span class="pre">26</span> <span class="pre">%</span> <span class="pre">7</span></tt>).</p>
|
718
|
+
</div>
|
719
|
+
</div>
|
720
|
+
<div class="section" id="logical-operators">
|
721
|
+
<h3>8.8.2.6.2. Logical operators<a class="headerlink" href="#logical-operators" title="Permalink to this headline">¶</a></h3>
|
722
|
+
<p>Here are logical operators.</p>
|
723
|
+
<div class="section" id="logical-not-operator">
|
724
|
+
<h4>8.8.2.6.2.1. Logical NOT operator<a class="headerlink" href="#logical-not-operator" title="Permalink to this headline">¶</a></h4>
|
725
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">!condition</span></tt>.</p>
|
726
|
+
<p>The operator inverts boolean value of <tt class="docutils literal"><span class="pre">condition</span></tt>.</p>
|
727
|
+
<p>Here is a simple example.</p>
|
728
|
+
<p>Execution example:</p>
|
729
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter '!(n_likes == 5)'
|
730
|
+
# [
|
731
|
+
# [
|
732
|
+
# 0,
|
733
|
+
# 1337566253.89858,
|
734
|
+
# 0.000355720520019531
|
735
|
+
# ],
|
736
|
+
# [
|
737
|
+
# [
|
738
|
+
# [
|
739
|
+
# 4
|
740
|
+
# ],
|
741
|
+
# [
|
742
|
+
# [
|
743
|
+
# "_id",
|
744
|
+
# "UInt32"
|
745
|
+
# ],
|
746
|
+
# [
|
747
|
+
# "_key",
|
748
|
+
# "ShortText"
|
749
|
+
# ],
|
750
|
+
# [
|
751
|
+
# "content",
|
752
|
+
# "Text"
|
753
|
+
# ],
|
754
|
+
# [
|
755
|
+
# "n_likes",
|
756
|
+
# "UInt32"
|
757
|
+
# ]
|
758
|
+
# ],
|
759
|
+
# [
|
760
|
+
# 4,
|
761
|
+
# "Good-bye Senna",
|
762
|
+
# "I migrated all Senna system!",
|
763
|
+
# 3
|
764
|
+
# ],
|
765
|
+
# [
|
766
|
+
# 5,
|
767
|
+
# "Good-bye Tritonn",
|
768
|
+
# "I also migrated all Tritonn system!",
|
769
|
+
# 3
|
770
|
+
# ],
|
771
|
+
# [
|
772
|
+
# 2,
|
773
|
+
# "Groonga",
|
774
|
+
# "I started to use groonga. It's very fast!",
|
775
|
+
# 10
|
776
|
+
# ],
|
777
|
+
# [
|
778
|
+
# 3,
|
779
|
+
# "Mroonga",
|
780
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
781
|
+
# 15
|
782
|
+
# ]
|
783
|
+
# ]
|
784
|
+
# ]
|
785
|
+
# ]
|
786
|
+
</pre></div>
|
787
|
+
</div>
|
788
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is not
|
789
|
+
equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
|
790
|
+
</div>
|
791
|
+
<div class="section" id="logical-and-operator">
|
792
|
+
<h4>8.8.2.6.2.2. Logical AND operator<a class="headerlink" href="#logical-and-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<p>The operator returns true if both of <tt class="docutils literal"><span class="pre">condition1</span></tt> and
|
795
|
+
<tt class="docutils literal"><span class="pre">condition2</span></tt> are true, false otherwise.</p>
|
796
|
+
<p>Here is a simple example.</p>
|
797
|
+
<p>Execution example:</p>
|
798
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content @ "fast" && n_likes >= 10'
|
799
|
+
# [
|
800
|
+
# [
|
801
|
+
# 0,
|
802
|
+
# 1337566253.89858,
|
803
|
+
# 0.000355720520019531
|
804
|
+
# ],
|
805
|
+
# [
|
806
|
+
# [
|
807
|
+
# [
|
808
|
+
# 2
|
809
|
+
# ],
|
810
|
+
# [
|
811
|
+
# [
|
812
|
+
# "_id",
|
813
|
+
# "UInt32"
|
814
|
+
# ],
|
815
|
+
# [
|
816
|
+
# "_key",
|
817
|
+
# "ShortText"
|
818
|
+
# ],
|
819
|
+
# [
|
820
|
+
# "content",
|
821
|
+
# "Text"
|
822
|
+
# ],
|
823
|
+
# [
|
824
|
+
# "n_likes",
|
825
|
+
# "UInt32"
|
826
|
+
# ]
|
827
|
+
# ],
|
828
|
+
# [
|
829
|
+
# 2,
|
830
|
+
# "Groonga",
|
831
|
+
# "I started to use groonga. It's very fast!",
|
832
|
+
# 10
|
833
|
+
# ],
|
834
|
+
# [
|
835
|
+
# 3,
|
836
|
+
# "Mroonga",
|
837
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
838
|
+
# 15
|
839
|
+
# ]
|
840
|
+
# ]
|
841
|
+
# ]
|
842
|
+
# ]
|
843
|
+
</pre></div>
|
844
|
+
</div>
|
845
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">content</span></tt> column value has the
|
846
|
+
word <tt class="docutils literal"><span class="pre">fast</span></tt> and <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is greater or equal to
|
847
|
+
<tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
848
|
+
</div>
|
849
|
+
<div class="section" id="logical-or-operator">
|
850
|
+
<h4>8.8.2.6.2.3. Logical OR operator<a class="headerlink" href="#logical-or-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<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
|
+
true, false otherwise.</p>
|
854
|
+
<p>Here is a simple example.</p>
|
855
|
+
<p>Execution example:</p>
|
856
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 5 || n_likes == 10'
|
857
|
+
# [
|
858
|
+
# [
|
859
|
+
# 0,
|
860
|
+
# 1337566253.89858,
|
861
|
+
# 0.000355720520019531
|
862
|
+
# ],
|
863
|
+
# [
|
864
|
+
# [
|
865
|
+
# [
|
866
|
+
# 2
|
867
|
+
# ],
|
868
|
+
# [
|
869
|
+
# [
|
870
|
+
# "_id",
|
871
|
+
# "UInt32"
|
872
|
+
# ],
|
873
|
+
# [
|
874
|
+
# "_key",
|
875
|
+
# "ShortText"
|
876
|
+
# ],
|
877
|
+
# [
|
878
|
+
# "content",
|
879
|
+
# "Text"
|
880
|
+
# ],
|
881
|
+
# [
|
882
|
+
# "n_likes",
|
883
|
+
# "UInt32"
|
884
|
+
# ]
|
885
|
+
# ],
|
886
|
+
# [
|
887
|
+
# 1,
|
888
|
+
# "The first post!",
|
889
|
+
# "Welcome! This is my first post!",
|
890
|
+
# 5
|
891
|
+
# ],
|
892
|
+
# [
|
893
|
+
# 2,
|
894
|
+
# "Groonga",
|
895
|
+
# "I started to use groonga. It's very fast!",
|
896
|
+
# 10
|
897
|
+
# ]
|
898
|
+
# ]
|
899
|
+
# ]
|
900
|
+
# ]
|
901
|
+
</pre></div>
|
902
|
+
</div>
|
903
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
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
|
+
</div>
|
906
|
+
<div class="section" id="logical-and-not-operator">
|
907
|
+
<h4>8.8.2.6.2.4. Logical AND NOT operator<a class="headerlink" href="#logical-and-not-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<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
|
+
is false, false otherwise. It returns difference set.</p>
|
911
|
+
<p>Here is a simple example.</p>
|
912
|
+
<p>Execution example:</p>
|
913
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content @ "fast" &! content @ "mroonga"'
|
914
|
+
# [
|
915
|
+
# [
|
916
|
+
# 0,
|
917
|
+
# 1337566253.89858,
|
918
|
+
# 0.000355720520019531
|
919
|
+
# ],
|
920
|
+
# [
|
921
|
+
# [
|
922
|
+
# [
|
923
|
+
# 1
|
924
|
+
# ],
|
925
|
+
# [
|
926
|
+
# [
|
927
|
+
# "_id",
|
928
|
+
# "UInt32"
|
929
|
+
# ],
|
930
|
+
# [
|
931
|
+
# "_key",
|
932
|
+
# "ShortText"
|
933
|
+
# ],
|
934
|
+
# [
|
935
|
+
# "content",
|
936
|
+
# "Text"
|
937
|
+
# ],
|
938
|
+
# [
|
939
|
+
# "n_likes",
|
940
|
+
# "UInt32"
|
941
|
+
# ]
|
942
|
+
# ],
|
943
|
+
# [
|
944
|
+
# 2,
|
945
|
+
# "Groonga",
|
946
|
+
# "I started to use groonga. It's very fast!",
|
947
|
+
# 10
|
948
|
+
# ]
|
949
|
+
# ]
|
950
|
+
# ]
|
951
|
+
# ]
|
952
|
+
</pre></div>
|
953
|
+
</div>
|
954
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">content</span></tt> column value has the
|
955
|
+
word <tt class="docutils literal"><span class="pre">fast</span></tt> but doesn't have the word <tt class="docutils literal"><span class="pre">mroonga</span></tt>.</p>
|
956
|
+
</div>
|
957
|
+
</div>
|
958
|
+
<div class="section" id="bitwise-operators">
|
959
|
+
<h3>8.8.2.6.3. Bitwise operators<a class="headerlink" href="#bitwise-operators" title="Permalink to this headline">¶</a></h3>
|
960
|
+
<p>Here are bitwise operators.</p>
|
961
|
+
<div class="section" id="bitwise-not-operator">
|
962
|
+
<h4>8.8.2.6.3.1. Bitwise NOT operator<a class="headerlink" href="#bitwise-not-operator" title="Permalink to this headline">¶</a></h4>
|
963
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">~number</span></tt>.</p>
|
964
|
+
<p>The operator returns bitwise NOT of <tt class="docutils literal"><span class="pre">number</span></tt>.</p>
|
965
|
+
<p>Here is a simple example.</p>
|
966
|
+
<p>Execution example:</p>
|
967
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter '~n_likes == -6'
|
968
|
+
# [
|
969
|
+
# [
|
970
|
+
# 0,
|
971
|
+
# 1337566253.89858,
|
972
|
+
# 0.000355720520019531
|
973
|
+
# ],
|
974
|
+
# [
|
975
|
+
# [
|
976
|
+
# [
|
977
|
+
# 1
|
978
|
+
# ],
|
979
|
+
# [
|
980
|
+
# [
|
981
|
+
# "_id",
|
982
|
+
# "UInt32"
|
983
|
+
# ],
|
984
|
+
# [
|
985
|
+
# "_key",
|
986
|
+
# "ShortText"
|
987
|
+
# ],
|
988
|
+
# [
|
989
|
+
# "content",
|
990
|
+
# "Text"
|
991
|
+
# ],
|
992
|
+
# [
|
993
|
+
# "n_likes",
|
994
|
+
# "UInt32"
|
995
|
+
# ]
|
996
|
+
# ],
|
997
|
+
# [
|
998
|
+
# 1,
|
999
|
+
# "The first post!",
|
1000
|
+
# "Welcome! This is my first post!",
|
1001
|
+
# 5
|
1002
|
+
# ]
|
1003
|
+
# ]
|
1004
|
+
# ]
|
1005
|
+
# ]
|
1006
|
+
</pre></div>
|
1007
|
+
</div>
|
1008
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
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
|
+
</div>
|
1011
|
+
<div class="section" id="bitwise-and-operator">
|
1012
|
+
<h4>8.8.2.6.3.2. Bitwise AND operator<a class="headerlink" href="#bitwise-and-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<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
|
+
<p>Here is a simple example.</p>
|
1016
|
+
<p>Execution example:</p>
|
1017
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter '(n_likes & 1) == 1'
|
1018
|
+
# [
|
1019
|
+
# [
|
1020
|
+
# 0,
|
1021
|
+
# 1337566253.89858,
|
1022
|
+
# 0.000355720520019531
|
1023
|
+
# ],
|
1024
|
+
# [
|
1025
|
+
# [
|
1026
|
+
# [
|
1027
|
+
# 4
|
1028
|
+
# ],
|
1029
|
+
# [
|
1030
|
+
# [
|
1031
|
+
# "_id",
|
1032
|
+
# "UInt32"
|
1033
|
+
# ],
|
1034
|
+
# [
|
1035
|
+
# "_key",
|
1036
|
+
# "ShortText"
|
1037
|
+
# ],
|
1038
|
+
# [
|
1039
|
+
# "content",
|
1040
|
+
# "Text"
|
1041
|
+
# ],
|
1042
|
+
# [
|
1043
|
+
# "n_likes",
|
1044
|
+
# "UInt32"
|
1045
|
+
# ]
|
1046
|
+
# ],
|
1047
|
+
# [
|
1048
|
+
# 4,
|
1049
|
+
# "Good-bye Senna",
|
1050
|
+
# "I migrated all Senna system!",
|
1051
|
+
# 3
|
1052
|
+
# ],
|
1053
|
+
# [
|
1054
|
+
# 5,
|
1055
|
+
# "Good-bye Tritonn",
|
1056
|
+
# "I also migrated all Tritonn system!",
|
1057
|
+
# 3
|
1058
|
+
# ],
|
1059
|
+
# [
|
1060
|
+
# 3,
|
1061
|
+
# "Mroonga",
|
1062
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
1063
|
+
# 15
|
1064
|
+
# ],
|
1065
|
+
# [
|
1066
|
+
# 1,
|
1067
|
+
# "The first post!",
|
1068
|
+
# "Welcome! This is my first post!",
|
1069
|
+
# 5
|
1070
|
+
# ]
|
1071
|
+
# ]
|
1072
|
+
# ]
|
1073
|
+
# ]
|
1074
|
+
</pre></div>
|
1075
|
+
</div>
|
1076
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is even
|
1077
|
+
number because bitwise AND between an even number and <tt class="docutils literal"><span class="pre">1</span></tt> is equal
|
1078
|
+
to <tt class="docutils literal"><span class="pre">1</span></tt> and bitwise AND between an odd number and <tt class="docutils literal"><span class="pre">1</span></tt> is equal to
|
1079
|
+
<tt class="docutils literal"><span class="pre">0</span></tt>.</p>
|
1080
|
+
</div>
|
1081
|
+
</div>
|
1082
|
+
<div class="section" id="bitwise-or-operator">
|
1083
|
+
<h3>8.8.2.6.4. Bitwise OR operator<a class="headerlink" href="#bitwise-or-operator" title="Permalink to this headline">¶</a></h3>
|
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
|
+
<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
|
+
<p>Here is a simple example.</p>
|
1087
|
+
<p>Execution example:</p>
|
1088
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (1 | 4)'
|
1089
|
+
# [
|
1090
|
+
# [
|
1091
|
+
# 0,
|
1092
|
+
# 1337566253.89858,
|
1093
|
+
# 0.000355720520019531
|
1094
|
+
# ],
|
1095
|
+
# [
|
1096
|
+
# [
|
1097
|
+
# [
|
1098
|
+
# 1
|
1099
|
+
# ],
|
1100
|
+
# [
|
1101
|
+
# [
|
1102
|
+
# "_id",
|
1103
|
+
# "UInt32"
|
1104
|
+
# ],
|
1105
|
+
# [
|
1106
|
+
# "_key",
|
1107
|
+
# "ShortText"
|
1108
|
+
# ],
|
1109
|
+
# [
|
1110
|
+
# "content",
|
1111
|
+
# "Text"
|
1112
|
+
# ],
|
1113
|
+
# [
|
1114
|
+
# "n_likes",
|
1115
|
+
# "UInt32"
|
1116
|
+
# ]
|
1117
|
+
# ],
|
1118
|
+
# [
|
1119
|
+
# 1,
|
1120
|
+
# "The first post!",
|
1121
|
+
# "Welcome! This is my first post!",
|
1122
|
+
# 5
|
1123
|
+
# ]
|
1124
|
+
# ]
|
1125
|
+
# ]
|
1126
|
+
# ]
|
1127
|
+
</pre></div>
|
1128
|
+
</div>
|
1129
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
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
|
+
</div>
|
1132
|
+
<div class="section" id="bitwise-xor-operator">
|
1133
|
+
<h3>8.8.2.6.5. Bitwise XOR operator<a class="headerlink" href="#bitwise-xor-operator" title="Permalink to this headline">¶</a></h3>
|
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
|
+
<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
|
+
<p>Here is a simple example.</p>
|
1137
|
+
<p>Execution example:</p>
|
1138
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (10 ^ 15)'
|
1139
|
+
# [
|
1140
|
+
# [
|
1141
|
+
# 0,
|
1142
|
+
# 1337566253.89858,
|
1143
|
+
# 0.000355720520019531
|
1144
|
+
# ],
|
1145
|
+
# [
|
1146
|
+
# [
|
1147
|
+
# [
|
1148
|
+
# 1
|
1149
|
+
# ],
|
1150
|
+
# [
|
1151
|
+
# [
|
1152
|
+
# "_id",
|
1153
|
+
# "UInt32"
|
1154
|
+
# ],
|
1155
|
+
# [
|
1156
|
+
# "_key",
|
1157
|
+
# "ShortText"
|
1158
|
+
# ],
|
1159
|
+
# [
|
1160
|
+
# "content",
|
1161
|
+
# "Text"
|
1162
|
+
# ],
|
1163
|
+
# [
|
1164
|
+
# "n_likes",
|
1165
|
+
# "UInt32"
|
1166
|
+
# ]
|
1167
|
+
# ],
|
1168
|
+
# [
|
1169
|
+
# 1,
|
1170
|
+
# "The first post!",
|
1171
|
+
# "Welcome! This is my first post!",
|
1172
|
+
# 5
|
1173
|
+
# ]
|
1174
|
+
# ]
|
1175
|
+
# ]
|
1176
|
+
# ]
|
1177
|
+
</pre></div>
|
1178
|
+
</div>
|
1179
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
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
|
+
</div>
|
1182
|
+
<div class="section" id="shift-operators">
|
1183
|
+
<h3>8.8.2.6.6. Shift operators<a class="headerlink" href="#shift-operators" title="Permalink to this headline">¶</a></h3>
|
1184
|
+
<p>Here are shift operators.</p>
|
1185
|
+
<div class="section" id="left-shift-operator">
|
1186
|
+
<h4>8.8.2.6.6.1. Left shift operator<a class="headerlink" href="#left-shift-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<p>The operator performs a bitwise left shift operation on <tt class="docutils literal"><span class="pre">number1</span></tt> by
|
1189
|
+
<tt class="docutils literal"><span class="pre">number2</span></tt>.</p>
|
1190
|
+
<p>Here is a simple example.</p>
|
1191
|
+
<p>Execution example:</p>
|
1192
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (5 << 1)'
|
1193
|
+
# [
|
1194
|
+
# [
|
1195
|
+
# 0,
|
1196
|
+
# 1337566253.89858,
|
1197
|
+
# 0.000355720520019531
|
1198
|
+
# ],
|
1199
|
+
# [
|
1200
|
+
# [
|
1201
|
+
# [
|
1202
|
+
# 1
|
1203
|
+
# ],
|
1204
|
+
# [
|
1205
|
+
# [
|
1206
|
+
# "_id",
|
1207
|
+
# "UInt32"
|
1208
|
+
# ],
|
1209
|
+
# [
|
1210
|
+
# "_key",
|
1211
|
+
# "ShortText"
|
1212
|
+
# ],
|
1213
|
+
# [
|
1214
|
+
# "content",
|
1215
|
+
# "Text"
|
1216
|
+
# ],
|
1217
|
+
# [
|
1218
|
+
# "n_likes",
|
1219
|
+
# "UInt32"
|
1220
|
+
# ]
|
1221
|
+
# ],
|
1222
|
+
# [
|
1223
|
+
# 2,
|
1224
|
+
# "Groonga",
|
1225
|
+
# "I started to use groonga. It's very fast!",
|
1226
|
+
# 10
|
1227
|
+
# ]
|
1228
|
+
# ]
|
1229
|
+
# ]
|
1230
|
+
# ]
|
1231
|
+
</pre></div>
|
1232
|
+
</div>
|
1233
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
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
|
+
</div>
|
1236
|
+
<div class="section" id="signed-right-shift-operator">
|
1237
|
+
<h4>8.8.2.6.6.2. Signed right shift operator<a class="headerlink" href="#signed-right-shift-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<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
|
+
of the result is the same as <tt class="docutils literal"><span class="pre">number1</span></tt>.</p>
|
1241
|
+
<p>Here is a simple example.</p>
|
1242
|
+
<p>Execution example:</p>
|
1243
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == -(-10 >> 1)'
|
1244
|
+
# [
|
1245
|
+
# [
|
1246
|
+
# 0,
|
1247
|
+
# 1337566253.89858,
|
1248
|
+
# 0.000355720520019531
|
1249
|
+
# ],
|
1250
|
+
# [
|
1251
|
+
# [
|
1252
|
+
# [
|
1253
|
+
# 1
|
1254
|
+
# ],
|
1255
|
+
# [
|
1256
|
+
# [
|
1257
|
+
# "_id",
|
1258
|
+
# "UInt32"
|
1259
|
+
# ],
|
1260
|
+
# [
|
1261
|
+
# "_key",
|
1262
|
+
# "ShortText"
|
1263
|
+
# ],
|
1264
|
+
# [
|
1265
|
+
# "content",
|
1266
|
+
# "Text"
|
1267
|
+
# ],
|
1268
|
+
# [
|
1269
|
+
# "n_likes",
|
1270
|
+
# "UInt32"
|
1271
|
+
# ]
|
1272
|
+
# ],
|
1273
|
+
# [
|
1274
|
+
# 1,
|
1275
|
+
# "The first post!",
|
1276
|
+
# "Welcome! This is my first post!",
|
1277
|
+
# 5
|
1278
|
+
# ]
|
1279
|
+
# ]
|
1280
|
+
# ]
|
1281
|
+
# ]
|
1282
|
+
</pre></div>
|
1283
|
+
</div>
|
1284
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
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
|
+
</div>
|
1287
|
+
<div class="section" id="unsigned-right-shift-operator">
|
1288
|
+
<h4>8.8.2.6.6.3. Unsigned right shift operator<a class="headerlink" href="#unsigned-right-shift-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<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
|
+
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>
|
1292
|
+
<p>Here is a simple example.</p>
|
1293
|
+
<p>Execution example:</p>
|
1294
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (2147483648 - (-10 >>> 1))'
|
1295
|
+
# [
|
1296
|
+
# [
|
1297
|
+
# 0,
|
1298
|
+
# 1337566253.89858,
|
1299
|
+
# 0.000355720520019531
|
1300
|
+
# ],
|
1301
|
+
# [
|
1302
|
+
# [
|
1303
|
+
# [
|
1304
|
+
# 1
|
1305
|
+
# ],
|
1306
|
+
# [
|
1307
|
+
# [
|
1308
|
+
# "_id",
|
1309
|
+
# "UInt32"
|
1310
|
+
# ],
|
1311
|
+
# [
|
1312
|
+
# "_key",
|
1313
|
+
# "ShortText"
|
1314
|
+
# ],
|
1315
|
+
# [
|
1316
|
+
# "content",
|
1317
|
+
# "Text"
|
1318
|
+
# ],
|
1319
|
+
# [
|
1320
|
+
# "n_likes",
|
1321
|
+
# "UInt32"
|
1322
|
+
# ]
|
1323
|
+
# ],
|
1324
|
+
# [
|
1325
|
+
# 1,
|
1326
|
+
# "The first post!",
|
1327
|
+
# "Welcome! This is my first post!",
|
1328
|
+
# 5
|
1329
|
+
# ]
|
1330
|
+
# ]
|
1331
|
+
# ]
|
1332
|
+
# ]
|
1333
|
+
</pre></div>
|
1334
|
+
</div>
|
1335
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
1336
|
+
to <tt class="docutils literal"><span class="pre">5</span></tt> (= <tt class="docutils literal"><span class="pre">2147483648</span> <span class="pre">-</span> <span class="pre">(-10</span> <span class="pre">>>></span> <span class="pre">1)</span></tt> = <tt class="docutils literal"><span class="pre">2147483648</span> <span class="pre">-</span> <span class="pre">2147483643</span></tt>).</p>
|
1337
|
+
</div>
|
1338
|
+
</div>
|
1339
|
+
<div class="section" id="comparison-operators">
|
1340
|
+
<h3>8.8.2.6.7. Comparison operators<a class="headerlink" href="#comparison-operators" title="Permalink to this headline">¶</a></h3>
|
1341
|
+
<p>Here are comparison operators.</p>
|
1342
|
+
<div class="section" id="equal-operator">
|
1343
|
+
<h4>8.8.2.6.7.1. Equal operator<a class="headerlink" href="#equal-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<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
|
+
otherwise.</p>
|
1347
|
+
<p>Here is a simple example.</p>
|
1348
|
+
<p>Execution example:</p>
|
1349
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 5'
|
1350
|
+
# [
|
1351
|
+
# [
|
1352
|
+
# 0,
|
1353
|
+
# 1337566253.89858,
|
1354
|
+
# 0.000355720520019531
|
1355
|
+
# ],
|
1356
|
+
# [
|
1357
|
+
# [
|
1358
|
+
# [
|
1359
|
+
# 1
|
1360
|
+
# ],
|
1361
|
+
# [
|
1362
|
+
# [
|
1363
|
+
# "_id",
|
1364
|
+
# "UInt32"
|
1365
|
+
# ],
|
1366
|
+
# [
|
1367
|
+
# "_key",
|
1368
|
+
# "ShortText"
|
1369
|
+
# ],
|
1370
|
+
# [
|
1371
|
+
# "content",
|
1372
|
+
# "Text"
|
1373
|
+
# ],
|
1374
|
+
# [
|
1375
|
+
# "n_likes",
|
1376
|
+
# "UInt32"
|
1377
|
+
# ]
|
1378
|
+
# ],
|
1379
|
+
# [
|
1380
|
+
# 1,
|
1381
|
+
# "The first post!",
|
1382
|
+
# "Welcome! This is my first post!",
|
1383
|
+
# 5
|
1384
|
+
# ]
|
1385
|
+
# ]
|
1386
|
+
# ]
|
1387
|
+
# ]
|
1388
|
+
</pre></div>
|
1389
|
+
</div>
|
1390
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is equal
|
1391
|
+
to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
|
1392
|
+
</div>
|
1393
|
+
<div class="section" id="not-equal-operator">
|
1394
|
+
<h4>8.8.2.6.7.2. Not equal operator<a class="headerlink" href="#not-equal-operator" title="Permalink to this headline">¶</a></h4>
|
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
|
+
<p>The operator returns true if <tt class="docutils literal"><span class="pre">object1</span></tt> does not equal to
|
1397
|
+
<tt class="docutils literal"><span class="pre">object2</span></tt>, false otherwise.</p>
|
1398
|
+
<p>Here is a simple example.</p>
|
1399
|
+
<p>Execution example:</p>
|
1400
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes != 5'
|
1401
|
+
# [
|
1402
|
+
# [
|
1403
|
+
# 0,
|
1404
|
+
# 1337566253.89858,
|
1405
|
+
# 0.000355720520019531
|
1406
|
+
# ],
|
1407
|
+
# [
|
1408
|
+
# [
|
1409
|
+
# [
|
1410
|
+
# 4
|
1411
|
+
# ],
|
1412
|
+
# [
|
1413
|
+
# [
|
1414
|
+
# "_id",
|
1415
|
+
# "UInt32"
|
1416
|
+
# ],
|
1417
|
+
# [
|
1418
|
+
# "_key",
|
1419
|
+
# "ShortText"
|
1420
|
+
# ],
|
1421
|
+
# [
|
1422
|
+
# "content",
|
1423
|
+
# "Text"
|
1424
|
+
# ],
|
1425
|
+
# [
|
1426
|
+
# "n_likes",
|
1427
|
+
# "UInt32"
|
1428
|
+
# ]
|
1429
|
+
# ],
|
1430
|
+
# [
|
1431
|
+
# 4,
|
1432
|
+
# "Good-bye Senna",
|
1433
|
+
# "I migrated all Senna system!",
|
1434
|
+
# 3
|
1435
|
+
# ],
|
1436
|
+
# [
|
1437
|
+
# 5,
|
1438
|
+
# "Good-bye Tritonn",
|
1439
|
+
# "I also migrated all Tritonn system!",
|
1440
|
+
# 3
|
1441
|
+
# ],
|
1442
|
+
# [
|
1443
|
+
# 2,
|
1444
|
+
# "Groonga",
|
1445
|
+
# "I started to use groonga. It's very fast!",
|
1446
|
+
# 10
|
1447
|
+
# ],
|
1448
|
+
# [
|
1449
|
+
# 3,
|
1450
|
+
# "Mroonga",
|
1451
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
1452
|
+
# 15
|
1453
|
+
# ]
|
1454
|
+
# ]
|
1455
|
+
# ]
|
1456
|
+
# ]
|
1457
|
+
</pre></div>
|
1458
|
+
</div>
|
1459
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is not
|
1460
|
+
equal to <tt class="docutils literal"><span class="pre">5</span></tt>.</p>
|
1461
|
+
</div>
|
1462
|
+
<div class="section" id="less-than-operator">
|
1463
|
+
<h4>8.8.2.6.7.3. Less than operator<a class="headerlink" href="#less-than-operator" title="Permalink to this headline">¶</a></h4>
|
1464
|
+
<p>TODO: ...</p>
|
1465
|
+
</div>
|
1466
|
+
<div class="section" id="less-than-or-equal-to-operator">
|
1467
|
+
<h4>8.8.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
|
+
<p>TODO: ...</p>
|
1469
|
+
</div>
|
1470
|
+
<div class="section" id="greater-than-operator">
|
1471
|
+
<h4>8.8.2.6.7.5. Greater than operator<a class="headerlink" href="#greater-than-operator" title="Permalink to this headline">¶</a></h4>
|
1472
|
+
<p>TODO: ...</p>
|
1473
|
+
</div>
|
1474
|
+
<div class="section" id="greater-than-or-equal-to-operator">
|
1475
|
+
<h4>8.8.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
|
+
<p>TODO: ...</p>
|
1477
|
+
</div>
|
1478
|
+
</div>
|
1479
|
+
</div>
|
1480
|
+
<div class="section" id="assignment-operators">
|
1481
|
+
<h2>8.8.2.7. Assignment operators<a class="headerlink" href="#assignment-operators" title="Permalink to this headline">¶</a></h2>
|
1482
|
+
<p>TODO: ...</p>
|
1483
|
+
</div>
|
1484
|
+
<div class="section" id="original-operators">
|
1485
|
+
<h2>8.8.2.8. Original operators<a class="headerlink" href="#original-operators" title="Permalink to this headline">¶</a></h2>
|
1486
|
+
<p>Script syntax adds the original binary opearators to ECMAScript
|
1487
|
+
syntax. They operate search specific operations. They are starts with
|
1488
|
+
<tt class="docutils literal"><span class="pre">@</span></tt> or <tt class="docutils literal"><span class="pre">*</span></tt>.</p>
|
1489
|
+
<div class="section" id="match-operator">
|
1490
|
+
<span id="match-oeprator"></span><h3>8.8.2.8.1. Match operator<a class="headerlink" href="#match-operator" title="Permalink to this headline">¶</a></h3>
|
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
|
+
<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
|
+
Normally, full text search is operated but tag search can be operated.
|
1494
|
+
Because tag search is also implemented by inverted index.</p>
|
1495
|
+
<p><a class="reference internal" href="query_syntax.html"><em>Query syntax</em></a> uses this operator by default.</p>
|
1496
|
+
<p>Here is a simple exmaple.</p>
|
1497
|
+
<p>Execution example:</p>
|
1498
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content @ "fast"' --output_columns content
|
1499
|
+
# [
|
1500
|
+
# [
|
1501
|
+
# 0,
|
1502
|
+
# 1337566253.89858,
|
1503
|
+
# 0.000355720520019531
|
1504
|
+
# ],
|
1505
|
+
# [
|
1506
|
+
# [
|
1507
|
+
# [
|
1508
|
+
# 2
|
1509
|
+
# ],
|
1510
|
+
# [
|
1511
|
+
# [
|
1512
|
+
# "content",
|
1513
|
+
# "Text"
|
1514
|
+
# ]
|
1515
|
+
# ],
|
1516
|
+
# [
|
1517
|
+
# "I started to use groonga. It's very fast!"
|
1518
|
+
# ],
|
1519
|
+
# [
|
1520
|
+
# "I also started to use mroonga. It's also very fast! Really fast!"
|
1521
|
+
# ]
|
1522
|
+
# ]
|
1523
|
+
# ]
|
1524
|
+
# ]
|
1525
|
+
</pre></div>
|
1526
|
+
</div>
|
1527
|
+
<p>The expression matches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt> in
|
1528
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
1529
|
+
</div>
|
1530
|
+
<div class="section" id="prefix-search-operator">
|
1531
|
+
<span id="id1"></span><h3>8.8.2.8.2. Prefix search operator<a class="headerlink" href="#prefix-search-operator" title="Permalink to this headline">¶</a></h3>
|
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
|
+
<p>The operator does prefix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Prefix search searches
|
1534
|
+
records that contain a word that starts with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
1535
|
+
<p>You can use fast prefix search against a column. The column must be
|
1536
|
+
indexed and index table must be patricia trie table
|
1537
|
+
(<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) or double array trie table
|
1538
|
+
(<tt class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></tt>). You can also use fast prefix search against
|
1539
|
+
<tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column of patricia trie table or double array trie
|
1540
|
+
table. You don't need to index <tt class="docutils literal"><span class="pre">_key</span></tt>.</p>
|
1541
|
+
<p>Prefix search can be used with other table types but it causes all
|
1542
|
+
records scan. It's not problem for small records but it spends more
|
1543
|
+
time for large records.</p>
|
1544
|
+
<p>Here is a simple exmaple.</p>
|
1545
|
+
<p>Execution example:</p>
|
1546
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter '_key @^ "Goo"' --output_columns _key
|
1547
|
+
# [
|
1548
|
+
# [
|
1549
|
+
# 0,
|
1550
|
+
# 1337566253.89858,
|
1551
|
+
# 0.000355720520019531
|
1552
|
+
# ],
|
1553
|
+
# [
|
1554
|
+
# [
|
1555
|
+
# [
|
1556
|
+
# 2
|
1557
|
+
# ],
|
1558
|
+
# [
|
1559
|
+
# [
|
1560
|
+
# "_key",
|
1561
|
+
# "ShortText"
|
1562
|
+
# ]
|
1563
|
+
# ],
|
1564
|
+
# [
|
1565
|
+
# "Good-bye Tritonn"
|
1566
|
+
# ],
|
1567
|
+
# [
|
1568
|
+
# "Good-bye Senna"
|
1569
|
+
# ]
|
1570
|
+
# ]
|
1571
|
+
# ]
|
1572
|
+
# ]
|
1573
|
+
</pre></div>
|
1574
|
+
</div>
|
1575
|
+
<p>The expression matches records that contain a word that starts with
|
1576
|
+
<tt class="docutils literal"><span class="pre">Goo</span></tt> in <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column value. <tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Senna</span></tt> and
|
1577
|
+
<tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></tt> are matched with the expression.</p>
|
1578
|
+
</div>
|
1579
|
+
<div class="section" id="suffix-search-operator">
|
1580
|
+
<span id="id2"></span><h3>8.8.2.8.3. Suffix search operator<a class="headerlink" href="#suffix-search-operator" title="Permalink to this headline">¶</a></h3>
|
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
|
+
<p>This operator does suffix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Suffix search
|
1583
|
+
searches records that contain a word that ends with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
1584
|
+
<p>You can use fast suffix search against a column. The column must be
|
1585
|
+
indexed and index table must be patricia trie table
|
1586
|
+
(<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) with <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag. You can also use fast
|
1587
|
+
suffix search against <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column of patricia trie table
|
1588
|
+
(<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) with <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag. You don't need to
|
1589
|
+
index <tt class="docutils literal"><span class="pre">_key</span></tt>. We recommended that you use index column based fast
|
1590
|
+
suffix search instead of <tt class="docutils literal"><span class="pre">_key</span></tt> based fast suffix search. <tt class="docutils literal"><span class="pre">_key</span></tt>
|
1591
|
+
based fast suffix search returns automatically registered
|
1592
|
+
substrings. (TODO: write document about suffix search and link to it
|
1593
|
+
from here.)</p>
|
1594
|
+
<div class="admonition note">
|
1595
|
+
<p class="first admonition-title">Note</p>
|
1596
|
+
<p class="last">Fast suffix search can be used only for non-ASCII characters such
|
1597
|
+
as hiragana in Japanese. You cannot use fast suffix search for
|
1598
|
+
ASCII character.</p>
|
1599
|
+
</div>
|
1600
|
+
<p>Suffix search can be used with other table types or patricia trie
|
1601
|
+
table without <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag but it causes all records
|
1602
|
+
scan. It's not problem for small records but it spends more time for
|
1603
|
+
large records.</p>
|
1604
|
+
<p>Here is a simple exmaple. It uses fast suffix search for hiragana in
|
1605
|
+
Japanese that is one of non-ASCII characters.</p>
|
1606
|
+
<p>Execution example:</p>
|
1607
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Titles TABLE_NO_KEY
|
1608
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1609
|
+
column_create Titles content COLUMN_SCALAR ShortText
|
1610
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1611
|
+
table_create SuffixSearchTerms TABLE_PAT_KEY|KEY_WITH_SIS ShortText
|
1612
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1613
|
+
column_create SuffixSearchTerms index COLUMN_INDEX Titles content
|
1614
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1615
|
+
load --table Titles
|
1616
|
+
[
|
1617
|
+
{"content": "ぐるんが"},
|
1618
|
+
{"content": "むるんが"},
|
1619
|
+
{"content": "せな"},
|
1620
|
+
{"content": "とりとん"}
|
1621
|
+
]
|
1622
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 4]
|
1623
|
+
select Titles --query 'content:$んが'
|
1624
|
+
# [
|
1625
|
+
# [
|
1626
|
+
# 0,
|
1627
|
+
# 1337566253.89858,
|
1628
|
+
# 0.000355720520019531
|
1629
|
+
# ],
|
1630
|
+
# [
|
1631
|
+
# [
|
1632
|
+
# [
|
1633
|
+
# 2
|
1634
|
+
# ],
|
1635
|
+
# [
|
1636
|
+
# [
|
1637
|
+
# "_id",
|
1638
|
+
# "UInt32"
|
1639
|
+
# ],
|
1640
|
+
# [
|
1641
|
+
# "content",
|
1642
|
+
# "ShortText"
|
1643
|
+
# ]
|
1644
|
+
# ],
|
1645
|
+
# [
|
1646
|
+
# 2,
|
1647
|
+
# "むるんが"
|
1648
|
+
# ],
|
1649
|
+
# [
|
1650
|
+
# 1,
|
1651
|
+
# "ぐるんが"
|
1652
|
+
# ]
|
1653
|
+
# ]
|
1654
|
+
# ]
|
1655
|
+
# ]
|
1656
|
+
</pre></div>
|
1657
|
+
</div>
|
1658
|
+
<p>The expression matches records that have value that ends with <tt class="docutils literal"><span class="pre">んが</span></tt>
|
1659
|
+
in <tt class="docutils literal"><span class="pre">content</span></tt> column value. <tt class="docutils literal"><span class="pre">ぐるんが</span></tt> and <tt class="docutils literal"><span class="pre">むるんが</span></tt> are matched
|
1660
|
+
with the expression.</p>
|
1661
|
+
</div>
|
1662
|
+
<div class="section" id="near-search-operator">
|
1663
|
+
<span id="id3"></span><h3>8.8.2.8.4. Near search operator<a class="headerlink" href="#near-search-operator" title="Permalink to this headline">¶</a></h3>
|
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
|
+
<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
|
+
search searches records that contain the words and the words are
|
1667
|
+
appeared in the near distance. Near distance is always <tt class="docutils literal"><span class="pre">10</span></tt> for
|
1668
|
+
now. The unit of near distance is the number of characters in N-gram
|
1669
|
+
family tokenizers and the number of words in morphological analysis
|
1670
|
+
family tokenizers.</p>
|
1671
|
+
<p>(TODO: Add a description about <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> doesn't split ASCII
|
1672
|
+
only word into tokens. So the unit for ASCII words with
|
1673
|
+
<tt class="docutils literal"><span class="pre">TokenBigram</span></tt> is the number of words even if <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> is a
|
1674
|
+
N-gram family tokenizer.)</p>
|
1675
|
+
<p>Note that an index column for full text search must be defined for
|
1676
|
+
<tt class="docutils literal"><span class="pre">column</span></tt>.</p>
|
1677
|
+
<p>Here is a simple exmaple.</p>
|
1678
|
+
<p>Execution example:</p>
|
1679
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content *N "I fast"' --output_columns content
|
1680
|
+
# [
|
1681
|
+
# [
|
1682
|
+
# 0,
|
1683
|
+
# 1337566253.89858,
|
1684
|
+
# 0.000355720520019531
|
1685
|
+
# ],
|
1686
|
+
# [
|
1687
|
+
# [
|
1688
|
+
# [
|
1689
|
+
# 1
|
1690
|
+
# ],
|
1691
|
+
# [
|
1692
|
+
# [
|
1693
|
+
# "content",
|
1694
|
+
# "Text"
|
1695
|
+
# ]
|
1696
|
+
# ],
|
1697
|
+
# [
|
1698
|
+
# "I started to use groonga. It's very fast!"
|
1699
|
+
# ]
|
1700
|
+
# ]
|
1701
|
+
# ]
|
1702
|
+
# ]
|
1703
|
+
select Entries --filter 'content *N "I Really"' --output_columns content
|
1704
|
+
# [[0, 1337566253.89858, 0.000355720520019531], [[[0], [["content", "Text"]]]]]
|
1705
|
+
select Entries --filter 'content *N "also Really"' --output_columns content
|
1706
|
+
# [
|
1707
|
+
# [
|
1708
|
+
# 0,
|
1709
|
+
# 1337566253.89858,
|
1710
|
+
# 0.000355720520019531
|
1711
|
+
# ],
|
1712
|
+
# [
|
1713
|
+
# [
|
1714
|
+
# [
|
1715
|
+
# 1
|
1716
|
+
# ],
|
1717
|
+
# [
|
1718
|
+
# [
|
1719
|
+
# "content",
|
1720
|
+
# "Text"
|
1721
|
+
# ]
|
1722
|
+
# ],
|
1723
|
+
# [
|
1724
|
+
# "I also started to use mroonga. It's also very fast! Really fast!"
|
1725
|
+
# ]
|
1726
|
+
# ]
|
1727
|
+
# ]
|
1728
|
+
# ]
|
1729
|
+
</pre></div>
|
1730
|
+
</div>
|
1731
|
+
<p>The first expression matches records that contain <tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">fast</span></tt>
|
1732
|
+
and the near distance of those words are in 10 words. So the record
|
1733
|
+
that its content is <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span> <span class="pre">also</span> <span class="pre">very</span>
|
1734
|
+
<span class="pre">fast!</span> <span class="pre">...</span></tt> is matched. The number of words between <tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">fast</span></tt>
|
1735
|
+
is just 10.</p>
|
1736
|
+
<p>The second expression matches records that contain <tt class="docutils literal"><span class="pre">I</span></tt> and
|
1737
|
+
<tt class="docutils literal"><span class="pre">Really</span></tt> and the near distance of those words are in 10 words. So
|
1738
|
+
the record that its content is <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span>
|
1739
|
+
<span class="pre">also</span> <span class="pre">very</span> <span class="pre">fast!</span> <span class="pre">Really</span> <span class="pre">fast!</span></tt> is not matched. The number of words between
|
1740
|
+
<tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">Really</span></tt> is 11.</p>
|
1741
|
+
<p>The third expression matches records that contain <tt class="docutils literal"><span class="pre">also</span></tt> and
|
1742
|
+
<tt class="docutils literal"><span class="pre">Really</span></tt> and the near distance of those words are in 10 words. So
|
1743
|
+
the record that its content is <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">st</span> <span class="pre">arted</span> <span class="pre">to</span> <span class="pre">use</span> <span class="pre">mroonga.</span> <span class="pre">It's</span>
|
1744
|
+
<span class="pre">also</span> <span class="pre">very</span> <span class="pre">fast!</span> <span class="pre">Really</span> <span class="pre">fast!</span></tt> is matched. The number of words between
|
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
|
+
</div>
|
1747
|
+
<div class="section" id="similar-search">
|
1748
|
+
<span id="similar-search-operator"></span><h3>8.8.2.8.5. Similar search<a class="headerlink" href="#similar-search" title="Permalink to this headline">¶</a></h3>
|
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
|
+
<p>The operator does similar search with document <tt class="docutils literal"><span class="pre">document</span></tt>. Similar
|
1751
|
+
search searches records that have similar content to
|
1752
|
+
<tt class="docutils literal"><span class="pre">document</span></tt>.</p>
|
1753
|
+
<p>Note that an index column for full text search must be defined for
|
1754
|
+
<tt class="docutils literal"><span class="pre">column</span></tt>.</p>
|
1755
|
+
<p>Here is a simple exmaple.</p>
|
1756
|
+
<p>Execution example:</p>
|
1757
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content *S "I migrated all Solr system!"' --output_columns content
|
1758
|
+
# [
|
1759
|
+
# [
|
1760
|
+
# 0,
|
1761
|
+
# 1337566253.89858,
|
1762
|
+
# 0.000355720520019531
|
1763
|
+
# ],
|
1764
|
+
# [
|
1765
|
+
# [
|
1766
|
+
# [
|
1767
|
+
# 2
|
1768
|
+
# ],
|
1769
|
+
# [
|
1770
|
+
# [
|
1771
|
+
# "content",
|
1772
|
+
# "Text"
|
1773
|
+
# ]
|
1774
|
+
# ],
|
1775
|
+
# [
|
1776
|
+
# "I migrated all Senna system!"
|
1777
|
+
# ],
|
1778
|
+
# [
|
1779
|
+
# "I also migrated all Tritonn system!"
|
1780
|
+
# ]
|
1781
|
+
# ]
|
1782
|
+
# ]
|
1783
|
+
# ]
|
1784
|
+
</pre></div>
|
1785
|
+
</div>
|
1786
|
+
<p>The expression matches records that have similar content to <tt class="docutils literal"><span class="pre">I</span>
|
1787
|
+
<span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">Solr</span> <span class="pre">system!</span></tt>. In this case, records that have <tt class="docutils literal"><span class="pre">I</span>
|
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
|
+
</div>
|
1790
|
+
<div class="section" id="term-extract-operator">
|
1791
|
+
<span id="id4"></span><h3>8.8.2.8.6. Term extract operator<a class="headerlink" href="#term-extract-operator" title="Permalink to this headline">¶</a></h3>
|
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
|
+
<p>The operator extracts terms from <tt class="docutils literal"><span class="pre">document</span></tt>. Terms must be
|
1794
|
+
registered as keys of the table of <tt class="docutils literal"><span class="pre">_key</span></tt>.</p>
|
1795
|
+
<p>Note that the table must be patricia trie (<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) or
|
1796
|
+
double array trie (<tt class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></tt>). You can't use hash table
|
1797
|
+
(<tt class="docutils literal"><span class="pre">TABLE_HASH_KEY</span></tt>) and array (<tt class="docutils literal"><span class="pre">TABLE_NO_KEY</span></tt>) becuase they don't
|
1798
|
+
support longest common prefix search. Longest common prefix search is
|
1799
|
+
used to implement the operator.</p>
|
1800
|
+
<p>Here is a simple exmaple.</p>
|
1801
|
+
<p>Execution example:</p>
|
1802
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Words TABLE_PAT_KEY|KEY_NORMALIZE ShortText
|
1803
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1804
|
+
load --table Words
|
1805
|
+
[
|
1806
|
+
{"_key": "groonga"},
|
1807
|
+
{"_key": "mroonga"},
|
1808
|
+
{"_key": "Senna"},
|
1809
|
+
{"_key": "Tritonn"}
|
1810
|
+
]
|
1811
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 4]
|
1812
|
+
select Words --filter '_key *T "Groonga is the successor project to Senna."' --output_columns _key
|
1813
|
+
# [
|
1814
|
+
# [
|
1815
|
+
# 0,
|
1816
|
+
# 1337566253.89858,
|
1817
|
+
# 0.000355720520019531
|
1818
|
+
# ],
|
1819
|
+
# [
|
1820
|
+
# [
|
1821
|
+
# [
|
1822
|
+
# 2
|
1823
|
+
# ],
|
1824
|
+
# [
|
1825
|
+
# [
|
1826
|
+
# "_key",
|
1827
|
+
# "ShortText"
|
1828
|
+
# ]
|
1829
|
+
# ],
|
1830
|
+
# [
|
1831
|
+
# "groonga"
|
1832
|
+
# ],
|
1833
|
+
# [
|
1834
|
+
# "senna"
|
1835
|
+
# ]
|
1836
|
+
# ]
|
1837
|
+
# ]
|
1838
|
+
# ]
|
1839
|
+
</pre></div>
|
1840
|
+
</div>
|
1841
|
+
<p>The expression extrcts terms that included in document <tt class="docutils literal"><span class="pre">Groonga</span> <span class="pre">is</span>
|
1842
|
+
<span class="pre">the</span> <span class="pre">successor</span> <span class="pre">project</span> <span class="pre">to</span> <span class="pre">Senna.</span></tt>. In this case, <tt class="docutils literal"><span class="pre">KEY_NORMALIZE</span></tt>
|
1843
|
+
flag is specified to <tt class="docutils literal"><span class="pre">Words</span></tt>. So <tt class="docutils literal"><span class="pre">Groonga</span></tt> can be extracted even
|
1844
|
+
if it is loaded as <tt class="docutils literal"><span class="pre">groonga</span></tt> into <tt class="docutils literal"><span class="pre">Words</span></tt>. All of extracted terms
|
1845
|
+
are also normalized.</p>
|
1846
|
+
</div>
|
1847
|
+
</div>
|
1848
|
+
</div>
|
1849
|
+
|
1850
|
+
|
1851
|
+
</div>
|
1852
|
+
</div>
|
1853
|
+
</div>
|
1854
|
+
<div class="sphinxsidebar">
|
1855
|
+
<div class="sphinxsidebarwrapper">
|
1856
|
+
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
1857
|
+
<ul>
|
1858
|
+
<li><a class="reference internal" href="#">8.8.2. Script syntax</a><ul>
|
1859
|
+
<li><a class="reference internal" href="#sample-data">8.8.2.1. Sample data</a></li>
|
1860
|
+
<li><a class="reference internal" href="#literals">8.8.2.2. Literals</a><ul>
|
1861
|
+
<li><a class="reference internal" href="#integer">8.8.2.2.1. Integer</a></li>
|
1862
|
+
<li><a class="reference internal" href="#float">8.8.2.2.2. Float</a></li>
|
1863
|
+
<li><a class="reference internal" href="#string">8.8.2.2.3. String</a></li>
|
1864
|
+
<li><a class="reference internal" href="#boolean">8.8.2.2.4. Boolean</a></li>
|
1865
|
+
<li><a class="reference internal" href="#null">8.8.2.2.5. Null</a></li>
|
1866
|
+
<li><a class="reference internal" href="#time">8.8.2.2.6. Time</a></li>
|
1867
|
+
<li><a class="reference internal" href="#geo-point">8.8.2.2.7. Geo point</a></li>
|
1868
|
+
<li><a class="reference internal" href="#array">8.8.2.2.8. Array</a></li>
|
1869
|
+
<li><a class="reference internal" href="#object-literal">8.8.2.2.9. Object literal</a></li>
|
1870
|
+
</ul>
|
1871
|
+
</li>
|
1872
|
+
<li><a class="reference internal" href="#control-syntaxes">8.8.2.3. Control syntaxes</a></li>
|
1873
|
+
<li><a class="reference internal" href="#grouping">8.8.2.4. Grouping</a></li>
|
1874
|
+
<li><a class="reference internal" href="#function-call">8.8.2.5. Function call</a></li>
|
1875
|
+
<li><a class="reference internal" href="#basic-operators">8.8.2.6. Basic operators</a><ul>
|
1876
|
+
<li><a class="reference internal" href="#arithmetic-operators">8.8.2.6.1. Arithmetic operators</a><ul>
|
1877
|
+
<li><a class="reference internal" href="#addition-operator">8.8.2.6.1.1. Addition operator</a></li>
|
1878
|
+
<li><a class="reference internal" href="#subtraction-operator">8.8.2.6.1.2. Subtraction operator</a></li>
|
1879
|
+
<li><a class="reference internal" href="#multiplication-operator">8.8.2.6.1.3. Multiplication operator</a></li>
|
1880
|
+
<li><a class="reference internal" href="#division-operator">8.8.2.6.1.4. Division operator</a></li>
|
1881
|
+
</ul>
|
1882
|
+
</li>
|
1883
|
+
<li><a class="reference internal" href="#logical-operators">8.8.2.6.2. Logical operators</a><ul>
|
1884
|
+
<li><a class="reference internal" href="#logical-not-operator">8.8.2.6.2.1. Logical NOT operator</a></li>
|
1885
|
+
<li><a class="reference internal" href="#logical-and-operator">8.8.2.6.2.2. Logical AND operator</a></li>
|
1886
|
+
<li><a class="reference internal" href="#logical-or-operator">8.8.2.6.2.3. Logical OR operator</a></li>
|
1887
|
+
<li><a class="reference internal" href="#logical-and-not-operator">8.8.2.6.2.4. Logical AND NOT operator</a></li>
|
1888
|
+
</ul>
|
1889
|
+
</li>
|
1890
|
+
<li><a class="reference internal" href="#bitwise-operators">8.8.2.6.3. Bitwise operators</a><ul>
|
1891
|
+
<li><a class="reference internal" href="#bitwise-not-operator">8.8.2.6.3.1. Bitwise NOT operator</a></li>
|
1892
|
+
<li><a class="reference internal" href="#bitwise-and-operator">8.8.2.6.3.2. Bitwise AND operator</a></li>
|
1893
|
+
</ul>
|
1894
|
+
</li>
|
1895
|
+
<li><a class="reference internal" href="#bitwise-or-operator">8.8.2.6.4. Bitwise OR operator</a></li>
|
1896
|
+
<li><a class="reference internal" href="#bitwise-xor-operator">8.8.2.6.5. Bitwise XOR operator</a></li>
|
1897
|
+
<li><a class="reference internal" href="#shift-operators">8.8.2.6.6. Shift operators</a><ul>
|
1898
|
+
<li><a class="reference internal" href="#left-shift-operator">8.8.2.6.6.1. Left shift operator</a></li>
|
1899
|
+
<li><a class="reference internal" href="#signed-right-shift-operator">8.8.2.6.6.2. Signed right shift operator</a></li>
|
1900
|
+
<li><a class="reference internal" href="#unsigned-right-shift-operator">8.8.2.6.6.3. Unsigned right shift operator</a></li>
|
1901
|
+
</ul>
|
1902
|
+
</li>
|
1903
|
+
<li><a class="reference internal" href="#comparison-operators">8.8.2.6.7. Comparison operators</a><ul>
|
1904
|
+
<li><a class="reference internal" href="#equal-operator">8.8.2.6.7.1. Equal operator</a></li>
|
1905
|
+
<li><a class="reference internal" href="#not-equal-operator">8.8.2.6.7.2. Not equal operator</a></li>
|
1906
|
+
<li><a class="reference internal" href="#less-than-operator">8.8.2.6.7.3. Less than operator</a></li>
|
1907
|
+
<li><a class="reference internal" href="#less-than-or-equal-to-operator">8.8.2.6.7.4. Less than or equal to operator</a></li>
|
1908
|
+
<li><a class="reference internal" href="#greater-than-operator">8.8.2.6.7.5. Greater than operator</a></li>
|
1909
|
+
<li><a class="reference internal" href="#greater-than-or-equal-to-operator">8.8.2.6.7.6. Greater than or equal to operator</a></li>
|
1910
|
+
</ul>
|
1911
|
+
</li>
|
1912
|
+
</ul>
|
1913
|
+
</li>
|
1914
|
+
<li><a class="reference internal" href="#assignment-operators">8.8.2.7. Assignment operators</a></li>
|
1915
|
+
<li><a class="reference internal" href="#original-operators">8.8.2.8. Original operators</a><ul>
|
1916
|
+
<li><a class="reference internal" href="#match-operator">8.8.2.8.1. Match operator</a></li>
|
1917
|
+
<li><a class="reference internal" href="#prefix-search-operator">8.8.2.8.2. Prefix search operator</a></li>
|
1918
|
+
<li><a class="reference internal" href="#suffix-search-operator">8.8.2.8.3. Suffix search operator</a></li>
|
1919
|
+
<li><a class="reference internal" href="#near-search-operator">8.8.2.8.4. Near search operator</a></li>
|
1920
|
+
<li><a class="reference internal" href="#similar-search">8.8.2.8.5. Similar search</a></li>
|
1921
|
+
<li><a class="reference internal" href="#term-extract-operator">8.8.2.8.6. Term extract operator</a></li>
|
1922
|
+
</ul>
|
1923
|
+
</li>
|
1924
|
+
</ul>
|
1925
|
+
</li>
|
1926
|
+
</ul>
|
1927
|
+
|
1928
|
+
<h4>Previous topic</h4>
|
1929
|
+
<p class="topless"><a href="query_syntax.html"
|
1930
|
+
title="previous chapter">8.8.1. Query syntax</a></p>
|
1931
|
+
<h4>Next topic</h4>
|
1932
|
+
<p class="topless"><a href="../functions.html"
|
1933
|
+
title="next chapter">8.9. 組み込み関数一覧</a></p>
|
1934
|
+
<h3>This Page</h3>
|
1935
|
+
<ul class="this-page-menu">
|
1936
|
+
<li><a href="../../_sources/reference/grn_expr/script_syntax.txt"
|
1937
|
+
rel="nofollow">Show Source</a></li>
|
1938
|
+
</ul>
|
1939
|
+
<div id="searchbox" style="display: none">
|
1940
|
+
<h3>Quick search</h3>
|
1941
|
+
<form class="search" action="../../search.html" method="get">
|
1942
|
+
<input type="text" name="q" />
|
1943
|
+
<input type="submit" value="Go" />
|
1944
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
1945
|
+
<input type="hidden" name="area" value="default" />
|
1946
|
+
</form>
|
1947
|
+
<p class="searchtip" style="font-size: 90%">
|
1948
|
+
Enter search terms or a module, class or function name.
|
1949
|
+
</p>
|
1950
|
+
</div>
|
1951
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
1952
|
+
</div>
|
1953
|
+
</div>
|
1954
|
+
<div class="clearer"></div>
|
1955
|
+
</div>
|
1956
|
+
<div class="related">
|
1957
|
+
<h3>Navigation</h3>
|
1958
|
+
<ul>
|
1959
|
+
<li class="right" style="margin-right: 10px">
|
1960
|
+
<a href="../../genindex.html" title="General Index"
|
1961
|
+
>index</a></li>
|
1962
|
+
<li class="right" >
|
1963
|
+
<a href="../functions.html" title="8.9. 組み込み関数一覧"
|
1964
|
+
>next</a> |</li>
|
1965
|
+
<li class="right" >
|
1966
|
+
<a href="query_syntax.html" title="8.8.1. Query syntax"
|
1967
|
+
>previous</a> |</li>
|
1968
|
+
<li><a href="../../index.html">groonga v2.0.5-316-g23cc017 documentation</a> »</li>
|
1969
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
1970
|
+
<li><a href="../grn_expr.html" >8.8. grn_expr</a> »</li>
|
1971
|
+
</ul>
|
1972
|
+
</div>
|
1973
|
+
<div class="footer">
|
1974
|
+
© Copyright 2009-2012, Brazil, Inc.
|
1975
|
+
</div>
|
1976
|
+
</body>
|
1977
|
+
</html>
|