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,1819 @@
|
|
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. スクリプト構文 — groonga v2.0.7ドキュメント</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.7',
|
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
|
+
<script type="text/javascript" src="../../_static/translations.js"></script>
|
30
|
+
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
31
|
+
<link rel="top" title="groonga v2.0.7ドキュメント" href="../../index.html" />
|
32
|
+
<link rel="up" title="8.8. grn_expr" href="../grn_expr.html" />
|
33
|
+
<link rel="next" title="8.9. 組み込み関数一覧" href="../functions.html" />
|
34
|
+
<link rel="prev" title="8.8.1. クエリ構文" href="query_syntax.html" />
|
35
|
+
</head>
|
36
|
+
<body>
|
37
|
+
<div class="header">
|
38
|
+
<h1 class="title">
|
39
|
+
<a id="top-link" href="../../index.html">
|
40
|
+
<span class="project">groonga</span>
|
41
|
+
<span class="separator">-</span>
|
42
|
+
<span class="description">オープンソースのカラムストア機能付き全文検索エンジン</span>
|
43
|
+
</a>
|
44
|
+
</h1>
|
45
|
+
|
46
|
+
<div class="other-language-links">
|
47
|
+
<ul>
|
48
|
+
<li><a href="../../../../en/html/reference/grn_expr/script_syntax.html"><img src="../../_static/us.png" alt="English">English page</a></li>
|
49
|
+
</ul>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
|
54
|
+
<div class="related">
|
55
|
+
<h3>ナビゲーション</h3>
|
56
|
+
<ul>
|
57
|
+
<li class="right" style="margin-right: 10px">
|
58
|
+
<a href="../../genindex.html" title="総合索引"
|
59
|
+
accesskey="I">索引</a></li>
|
60
|
+
<li class="right" >
|
61
|
+
<a href="../functions.html" title="8.9. 組み込み関数一覧"
|
62
|
+
accesskey="N">次へ</a> |</li>
|
63
|
+
<li class="right" >
|
64
|
+
<a href="query_syntax.html" title="8.8.1. クエリ構文"
|
65
|
+
accesskey="P">前へ</a> |</li>
|
66
|
+
<li><a href="../../index.html">groonga v2.0.7ドキュメント</a> »</li>
|
67
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
68
|
+
<li><a href="../grn_expr.html" accesskey="U">8.8. grn_expr</a> »</li>
|
69
|
+
</ul>
|
70
|
+
</div>
|
71
|
+
|
72
|
+
<div class="document">
|
73
|
+
<div class="documentwrapper">
|
74
|
+
<div class="bodywrapper">
|
75
|
+
<div class="body">
|
76
|
+
|
77
|
+
<div class="section" id="script-syntax">
|
78
|
+
<h1>8.8.2. スクリプト構文<a class="headerlink" href="#script-syntax" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
79
|
+
<p>スクリプト構文は複雑な検索条件を指定するための構文です。この構文はECMAScriptに似ています。例えば、 <tt class="docutils literal"><span class="pre">_key</span> <span class="pre">==</span> <span class="pre">"book"</span></tt> は <tt class="docutils literal"><span class="pre">_key</span></tt> の値が <tt class="docutils literal"><span class="pre">"book"</span></tt> のレコードを検索するという意味です。 <a class="reference internal" href="query_syntax.html"><em>クエリ構文</em></a> ではすべての値は文字列でしたが、スクリプト構文では値に型があります。例えば、 <tt class="docutils literal"><span class="pre">"book"</span></tt> は文字列で <tt class="docutils literal"><span class="pre">1</span></tt> は整数で、 <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> は <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> という名前のオブジェクトです。</p>
|
80
|
+
<p>スクリプト構文はECMAScriptの構文と完全に互換性があるわけではありません。例えば、 <tt class="docutils literal"><span class="pre">if</span></tt> 制御文や <tt class="docutils literal"><span class="pre">for</span></tt> 繰り返し文や変数定義文といった文をサポートしていません。関数定義もサポートしていません。しかし、独自の演算子を追加しています。独自の演算子はECMAScriptの構文を説明した後に説明します。</p>
|
81
|
+
<div class="section" id="sample-data">
|
82
|
+
<h2>8.8.2.1. サンプルデータ<a class="headerlink" href="#sample-data" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
83
|
+
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
84
|
+
<p>実行例:</p>
|
85
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Entries TABLE_PAT_KEY ShortText
|
86
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
87
|
+
column_create Entries content COLUMN_SCALAR Text
|
88
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
89
|
+
column_create Entries n_likes COLUMN_SCALAR UInt32
|
90
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
91
|
+
table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
92
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
93
|
+
column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
|
94
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
95
|
+
column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
|
96
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
97
|
+
load --table Entries
|
98
|
+
[
|
99
|
+
{"_key": "The first post!",
|
100
|
+
"content": "Welcome! This is my first post!",
|
101
|
+
"n_likes": 5},
|
102
|
+
{"_key": "Groonga",
|
103
|
+
"content": "I started to use groonga. It's very fast!",
|
104
|
+
"n_likes": 10},
|
105
|
+
{"_key": "Mroonga",
|
106
|
+
"content": "I also started to use mroonga. It's also very fast! Really fast!",
|
107
|
+
"n_likes": 15},
|
108
|
+
{"_key": "Good-bye Senna",
|
109
|
+
"content": "I migrated all Senna system!",
|
110
|
+
"n_likes": 3},
|
111
|
+
{"_key": "Good-bye Tritonn",
|
112
|
+
"content": "I also migrated all Tritonn system!",
|
113
|
+
"n_likes": 3}
|
114
|
+
]
|
115
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
116
|
+
</pre></div>
|
117
|
+
</div>
|
118
|
+
<p>ブログエントリ用の <tt class="docutils literal"><span class="pre">Entries</span></tt> テーブルがあります。各エントリはタイトルと内容と「いいね!」数を持っています。タイトルは <tt class="docutils literal"><span class="pre">Entries</span></tt> のキーとします。内容は <tt class="docutils literal"><span class="pre">Entries.content</span></tt> カラムの値とします。「いいね!」数は <tt class="docutils literal"><span class="pre">Entries.n_likes</span></tt> カラムの値とします。</p>
|
119
|
+
<p><tt class="docutils literal"><span class="pre">Entries._key</span></tt> カラムと <tt class="docutils literal"><span class="pre">Entries.content</span></tt> カラムには <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> トークナイザーを使ったインデックスを作成します。そのため、 <tt class="docutils literal"><span class="pre">Entries._key</span></tt> と <tt class="docutils literal"><span class="pre">Entries.content</span></tt> は両方とも全文検索できます。</p>
|
120
|
+
<p>これで例を示すためのスキーマとデータの準備ができました。</p>
|
121
|
+
</div>
|
122
|
+
<div class="section" id="literals">
|
123
|
+
<h2>8.8.2.2. リテラル<a class="headerlink" href="#literals" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
124
|
+
<div class="section" id="integer">
|
125
|
+
<h3>8.8.2.2.1. 整数<a class="headerlink" href="#integer" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
126
|
+
<p>整数リテラルは <tt class="docutils literal"><span class="pre">1234567890</span></tt> のような <tt class="docutils literal"><span class="pre">0</span></tt> から <tt class="docutils literal"><span class="pre">9</span></tt> の並びです。 <tt class="docutils literal"><span class="pre">+29</span></tt> や <tt class="docutils literal"><span class="pre">-29</span></tt> のように符号として最初に <tt class="docutils literal"><span class="pre">+</span></tt> または <tt class="docutils literal"><span class="pre">-</span></tt> をつけることができます。整数リテラルは10進数です。8進数や16進数などは使えません。</p>
|
127
|
+
<p>整数リテラルの最大値は <tt class="docutils literal"><span class="pre">9223372036854775807</span></tt> ( <tt class="docutils literal"><span class="pre">=</span> <span class="pre">2</span> <span class="pre">**</span> <span class="pre">63</span> <span class="pre">-</span> <span class="pre">1</span></tt> )です。最小値は <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>
|
128
|
+
</div>
|
129
|
+
<div class="section" id="float">
|
130
|
+
<h3>8.8.2.2.2. 浮動小数点数<a class="headerlink" href="#float" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
131
|
+
<p>浮動小数点数リテラルは <tt class="docutils literal"><span class="pre">3.14</span></tt> のように、まず <tt class="docutils literal"><span class="pre">0</span></tt> から <tt class="docutils literal"><span class="pre">9</span></tt> 、次に <tt class="docutils literal"><span class="pre">.</span></tt> 、最後に <tt class="docutils literal"><span class="pre">0</span></tt> から <tt class="docutils literal"><span class="pre">9</span></tt> という並びです。 <tt class="docutils literal"><span class="pre">+3.14</span></tt> や <tt class="docutils literal"><span class="pre">-3.14</span></tt> のように符号として最初に <tt class="docutils literal"><span class="pre">+</span></tt> または <tt class="docutils literal"><span class="pre">-</span></tt> をつけることができます。 <tt class="docutils literal"><span class="pre">${基数}e${指数}</span></tt> や <tt class="docutils literal"><span class="pre">${基数}E${指数}</span></tt> というフォーマットもサポートしています。例えば、 <tt class="docutils literal"><span class="pre">314e-2</span></tt> は <tt class="docutils literal"><span class="pre">3.14</span></tt> と同じです。</p>
|
132
|
+
</div>
|
133
|
+
<div class="section" id="string">
|
134
|
+
<h3>8.8.2.2.3. 文字列<a class="headerlink" href="#string" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
135
|
+
<p>文字列リテラルは <tt class="docutils literal"><span class="pre">"..."</span></tt> です。リテラル中の <tt class="docutils literal"><span class="pre">"</span></tt> は <tt class="docutils literal"><span class="pre">\"</span></tt> というように <tt class="docutils literal"><span class="pre">\</span></tt> を前につけてエスケープします。例えば、 <tt class="docutils literal"><span class="pre">"Say</span> <span class="pre">\"Hello!\"."</span></tt> は <tt class="docutils literal"><span class="pre">Say</span> <span class="pre">"Hello!".</span></tt> という文字列のリテラルです。</p>
|
136
|
+
<p>文字列エンコーディングはデータベースのエンコーディングと合わせなければいけません。デフォルトのエンコーディングはUTF-8です。これは configure の <tt class="docutils literal"><span class="pre">--with-default-encoding</span></tt> オプションや <a class="reference internal" href="../executables/groonga.html"><em>groongaコマンド</em></a> の <tt class="docutils literal"><span class="pre">--encodiong</span></tt> などで変更できます。</p>
|
137
|
+
</div>
|
138
|
+
<div class="section" id="boolean">
|
139
|
+
<h3>8.8.2.2.4. 真偽値<a class="headerlink" href="#boolean" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
140
|
+
<p>真偽値のリテラルは <tt class="docutils literal"><span class="pre">true</span></tt> と <tt class="docutils literal"><span class="pre">false</span></tt> です。 <tt class="docutils literal"><span class="pre">true</span></tt> は真という意味で、 <tt class="docutils literal"><span class="pre">false</span></tt> は偽という意味です。</p>
|
141
|
+
</div>
|
142
|
+
<div class="section" id="null">
|
143
|
+
<h3>8.8.2.2.5. NULL<a class="headerlink" href="#null" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
144
|
+
<p>NULLのリテラルは <tt class="docutils literal"><span class="pre">null</span></tt> です。groongaはNULL値をサポートしてませんが、NULLリテラルをサポートしています。</p>
|
145
|
+
</div>
|
146
|
+
<div class="section" id="time">
|
147
|
+
<h3>8.8.2.2.6. 時間<a class="headerlink" href="#time" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
148
|
+
<div class="admonition note">
|
149
|
+
<p class="first admonition-title">ノート</p>
|
150
|
+
<p class="last">これはgroonga独自の記法です。</p>
|
151
|
+
</div>
|
152
|
+
<p>時間のリテラルはありません。文字列での時間記法、整数での時間記法または浮動小数点数での時間記法を使ってください。</p>
|
153
|
+
<p>文字列での時間記法は <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-MM-DD</span> <span class="pre">hh:mm:ss.uuuuuu"</span></tt> です。 <tt class="docutils literal"><span class="pre">YYYY</span></tt> は西暦、 <tt class="docutils literal"><span class="pre">MM</span></tt> は月、 <tt class="docutils literal"><span class="pre">DD</span></tt> は日、 <tt class="docutils literal"><span class="pre">hh</span></tt> は時、 <tt class="docutils literal"><span class="pre">mm</span></tt> は分、 <tt class="docutils literal"><span class="pre">ss</span></tt> は秒、 <tt class="docutils literal"><span class="pre">uuuuuu</span></tt> はマイクロ秒です。ローカル時間です。例えば、 <tt class="docutils literal"><span class="pre">"2012/07/23</span> <span class="pre">02:41:10.436218"</span></tt> はISO 8601形式では <tt class="docutils literal"><span class="pre">2012-07-23T02:41:10.436218</span></tt> になります。</p>
|
154
|
+
<p>整数での時間記法はUTC時間で1970年1月1日0時0分0秒からの経過秒数を使います。この時間はPOSIX時間とも呼ばれています。例えば、 <tt class="docutils literal"><span class="pre">1343011270</span></tt> はISO 8601形式では <tt class="docutils literal"><span class="pre">2012-07-23T02:41:10Z</span></tt> になります。</p>
|
155
|
+
<p>浮動小数点数での時間記法はUTC時間で1970年1月1日0時0分0秒からの経過秒数と経過マイクロ秒数を使います。例えば、 <tt class="docutils literal"><span class="pre">1343011270.436218</span></tt> はISO 8601形式では <tt class="docutils literal"><span class="pre">2012-07-23T02:41:10.346218Z</span></tt> になります。</p>
|
156
|
+
</div>
|
157
|
+
<div class="section" id="geo-point">
|
158
|
+
<h3>8.8.2.2.7. 座標値<a class="headerlink" href="#geo-point" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
159
|
+
<div class="admonition note">
|
160
|
+
<p class="first admonition-title">ノート</p>
|
161
|
+
<p class="last">これはgroonga独自の記法です。</p>
|
162
|
+
</div>
|
163
|
+
<p>座標値のリテラルはありません。文字列での座標値記法を使ってください。</p>
|
164
|
+
<p>文字列での座標値記法には以下のパターンがあります。</p>
|
165
|
+
<blockquote>
|
166
|
+
<div><ul class="simple">
|
167
|
+
<li><tt class="docutils literal"><span class="pre">"ミリ秒表記の緯度xミリ秒表記の経度"</span></tt></li>
|
168
|
+
<li><tt class="docutils literal"><span class="pre">"ミリ秒表記の緯度,ミリ秒表記の経度"</span></tt></li>
|
169
|
+
<li><tt class="docutils literal"><span class="pre">"度数表記の緯度x度数表記の経度"</span></tt></li>
|
170
|
+
<li><tt class="docutils literal"><span class="pre">"度数表記の緯度,度数表記の経度"</span></tt></li>
|
171
|
+
</ul>
|
172
|
+
</div></blockquote>
|
173
|
+
<p><tt class="docutils literal"><span class="pre">x</span></tt> と <tt class="docutils literal"><span class="pre">,</span></tt> のどちらも区切り文字として使えます。緯度と経度はミリ秒または度数で指定します。</p>
|
174
|
+
</div>
|
175
|
+
<div class="section" id="array">
|
176
|
+
<h3>8.8.2.2.8. 配列<a class="headerlink" href="#array" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
177
|
+
<p>配列リテラルは <tt class="docutils literal"><span class="pre">[element1,</span> <span class="pre">element2,</span> <span class="pre">...]</span></tt> です。</p>
|
178
|
+
</div>
|
179
|
+
<div class="section" id="object-literal">
|
180
|
+
<h3>8.8.2.2.9. オブジェクトリテラル<a class="headerlink" href="#object-literal" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
181
|
+
<p>オブジェクトのリテラルは <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はまだオブジェクトリテラルをサポートしていません。</p>
|
182
|
+
</div>
|
183
|
+
</div>
|
184
|
+
<div class="section" id="control-syntaxes">
|
185
|
+
<h2>8.8.2.3. 制御構文<a class="headerlink" href="#control-syntaxes" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
186
|
+
<p>スクリプト構文は文をサポートしていません。そのため、 <tt class="docutils literal"><span class="pre">if</span></tt> のような制御文を使うことはできません。制御用の構文は <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> 式だけ使うことができます。</p>
|
187
|
+
<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> は <tt class="docutils literal"><span class="pre">A</span></tt> が真なら <tt class="docutils literal"><span class="pre">B</span></tt> を返して、そうでなかったら <tt class="docutils literal"><span class="pre">C</span></tt> を返します。</p>
|
188
|
+
<p>以下は簡単な使用例です。</p>
|
189
|
+
<p>実行例:</p>
|
190
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (_id == 1 ? 5 : 3)'
|
191
|
+
# [
|
192
|
+
# [
|
193
|
+
# 0,
|
194
|
+
# 1337566253.89858,
|
195
|
+
# 0.000355720520019531
|
196
|
+
# ],
|
197
|
+
# [
|
198
|
+
# [
|
199
|
+
# [
|
200
|
+
# 3
|
201
|
+
# ],
|
202
|
+
# [
|
203
|
+
# [
|
204
|
+
# "_id",
|
205
|
+
# "UInt32"
|
206
|
+
# ],
|
207
|
+
# [
|
208
|
+
# "_key",
|
209
|
+
# "ShortText"
|
210
|
+
# ],
|
211
|
+
# [
|
212
|
+
# "content",
|
213
|
+
# "Text"
|
214
|
+
# ],
|
215
|
+
# [
|
216
|
+
# "n_likes",
|
217
|
+
# "UInt32"
|
218
|
+
# ]
|
219
|
+
# ],
|
220
|
+
# [
|
221
|
+
# 4,
|
222
|
+
# "Good-bye Senna",
|
223
|
+
# "I migrated all Senna system!",
|
224
|
+
# 3
|
225
|
+
# ],
|
226
|
+
# [
|
227
|
+
# 5,
|
228
|
+
# "Good-bye Tritonn",
|
229
|
+
# "I also migrated all Tritonn system!",
|
230
|
+
# 3
|
231
|
+
# ],
|
232
|
+
# [
|
233
|
+
# 1,
|
234
|
+
# "The first post!",
|
235
|
+
# "Welcome! This is my first post!",
|
236
|
+
# 5
|
237
|
+
# ]
|
238
|
+
# ]
|
239
|
+
# ]
|
240
|
+
# ]
|
241
|
+
</pre></div>
|
242
|
+
</div>
|
243
|
+
<p>この式は <tt class="docutils literal"><span class="pre">_id</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">1</span></tt> で <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">5</span></tt> または <tt class="docutils literal"><span class="pre">_id</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">1</span></tt> ではなく <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">3</span></tt> のレコードにマッチします。</p>
|
244
|
+
</div>
|
245
|
+
<div class="section" id="grouping">
|
246
|
+
<h2>8.8.2.4. グループ化<a class="headerlink" href="#grouping" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
247
|
+
<p>構文は <tt class="docutils literal"><span class="pre">(...)</span></tt> です。 <tt class="docutils literal"><span class="pre">...</span></tt> はカンマ区切りの式のリストです。</p>
|
248
|
+
<p><tt class="docutils literal"><span class="pre">(...)</span></tt> は1つ以上の式をグループ化します。グループ化された式は1つの式として処理されます。 <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> は <tt class="docutils literal"><span class="pre">a</span></tt> と <tt class="docutils literal"><span class="pre">b</span></tt> の両方がマッチするか、 <tt class="docutils literal"><span class="pre">c</span></tt> がマッチすれば式全体がマッチする、という意味になります。 <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> は <tt class="docutils literal"><span class="pre">a</span></tt> がマッチして <tt class="docutils literal"><span class="pre">b</span></tt> と <tt class="docutils literal"><span class="pre">c</span></tt> はどちらか一方がマッチすれば式全体がマッチする、という意味になります。</p>
|
249
|
+
<p>以下は簡単な使用例です。</p>
|
250
|
+
<p>実行例:</p>
|
251
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes < 5 && content @ "senna" || content @ "fast"'
|
252
|
+
# [
|
253
|
+
# [
|
254
|
+
# 0,
|
255
|
+
# 1337566253.89858,
|
256
|
+
# 0.000355720520019531
|
257
|
+
# ],
|
258
|
+
# [
|
259
|
+
# [
|
260
|
+
# [
|
261
|
+
# 3
|
262
|
+
# ],
|
263
|
+
# [
|
264
|
+
# [
|
265
|
+
# "_id",
|
266
|
+
# "UInt32"
|
267
|
+
# ],
|
268
|
+
# [
|
269
|
+
# "_key",
|
270
|
+
# "ShortText"
|
271
|
+
# ],
|
272
|
+
# [
|
273
|
+
# "content",
|
274
|
+
# "Text"
|
275
|
+
# ],
|
276
|
+
# [
|
277
|
+
# "n_likes",
|
278
|
+
# "UInt32"
|
279
|
+
# ]
|
280
|
+
# ],
|
281
|
+
# [
|
282
|
+
# 4,
|
283
|
+
# "Good-bye Senna",
|
284
|
+
# "I migrated all Senna system!",
|
285
|
+
# 3
|
286
|
+
# ],
|
287
|
+
# [
|
288
|
+
# 2,
|
289
|
+
# "Groonga",
|
290
|
+
# "I started to use groonga. It's very fast!",
|
291
|
+
# 10
|
292
|
+
# ],
|
293
|
+
# [
|
294
|
+
# 3,
|
295
|
+
# "Mroonga",
|
296
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
297
|
+
# 15
|
298
|
+
# ]
|
299
|
+
# ]
|
300
|
+
# ]
|
301
|
+
# ]
|
302
|
+
select Entries --filter 'n_likes < 5 && (content @ "senna" || content @ "fast")'
|
303
|
+
# [
|
304
|
+
# [
|
305
|
+
# 0,
|
306
|
+
# 1337566253.89858,
|
307
|
+
# 0.000355720520019531
|
308
|
+
# ],
|
309
|
+
# [
|
310
|
+
# [
|
311
|
+
# [
|
312
|
+
# 1
|
313
|
+
# ],
|
314
|
+
# [
|
315
|
+
# [
|
316
|
+
# "_id",
|
317
|
+
# "UInt32"
|
318
|
+
# ],
|
319
|
+
# [
|
320
|
+
# "_key",
|
321
|
+
# "ShortText"
|
322
|
+
# ],
|
323
|
+
# [
|
324
|
+
# "content",
|
325
|
+
# "Text"
|
326
|
+
# ],
|
327
|
+
# [
|
328
|
+
# "n_likes",
|
329
|
+
# "UInt32"
|
330
|
+
# ]
|
331
|
+
# ],
|
332
|
+
# [
|
333
|
+
# 4,
|
334
|
+
# "Good-bye Senna",
|
335
|
+
# "I migrated all Senna system!",
|
336
|
+
# 3
|
337
|
+
# ]
|
338
|
+
# ]
|
339
|
+
# ]
|
340
|
+
# ]
|
341
|
+
</pre></div>
|
342
|
+
</div>
|
343
|
+
<p>最初の式はグループ化していません。この式は <tt class="docutils literal"><span class="pre">n_likes</span> <span class="pre"><</span> <span class="pre">5</span></tt> と <tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"senna"</span></tt> の両方がマッチするか <tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"fast"</span></tt> がマッチするレコードにマッチします。</p>
|
344
|
+
<p>2番目の式はグループ化しています。この式は <tt class="docutils literal"><span class="pre">n_likes</span> <span class="pre"><</span> <span class="pre">5</span></tt> にマッチして、 <tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"senna"</span></tt> と <tt class="docutils literal"><span class="pre">content</span> <span class="pre">@</span> <span class="pre">"fast"</span></tt> は少なくともどちらか一方にマッチするレコードにマッチします。</p>
|
345
|
+
</div>
|
346
|
+
<div class="section" id="function-call">
|
347
|
+
<h2>8.8.2.5. 関数呼び出し<a class="headerlink" href="#function-call" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
348
|
+
<p>構文は <tt class="docutils literal"><span class="pre">name(arugment1,</span> <span class="pre">argument2,</span> <span class="pre">...)</span></tt> です。</p>
|
349
|
+
<p><tt class="docutils literal"><span class="pre">name(argument1,</span> <span class="pre">argument2,</span> <span class="pre">...)</span></tt> は <tt class="docutils literal"><span class="pre">name</span></tt> という関数を引数 <tt class="docutils literal"><span class="pre">argument1</span></tt>, <tt class="docutils literal"><span class="pre">argument2</span></tt>, <tt class="docutils literal"><span class="pre">...</span></tt> で呼び出します。</p>
|
350
|
+
<p>利用可能な関数の一覧は <a class="reference internal" href="../functions.html"><em>組み込み関数一覧</em></a> を参照してください。</p>
|
351
|
+
<p>以下は簡単な使用例です。</p>
|
352
|
+
<p>実行例:</p>
|
353
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'edit_distance(_key, "Groonga") <= 1'
|
354
|
+
# [
|
355
|
+
# [
|
356
|
+
# 0,
|
357
|
+
# 1337566253.89858,
|
358
|
+
# 0.000355720520019531
|
359
|
+
# ],
|
360
|
+
# [
|
361
|
+
# [
|
362
|
+
# [
|
363
|
+
# 2
|
364
|
+
# ],
|
365
|
+
# [
|
366
|
+
# [
|
367
|
+
# "_id",
|
368
|
+
# "UInt32"
|
369
|
+
# ],
|
370
|
+
# [
|
371
|
+
# "_key",
|
372
|
+
# "ShortText"
|
373
|
+
# ],
|
374
|
+
# [
|
375
|
+
# "content",
|
376
|
+
# "Text"
|
377
|
+
# ],
|
378
|
+
# [
|
379
|
+
# "n_likes",
|
380
|
+
# "UInt32"
|
381
|
+
# ]
|
382
|
+
# ],
|
383
|
+
# [
|
384
|
+
# 2,
|
385
|
+
# "Groonga",
|
386
|
+
# "I started to use groonga. It's very fast!",
|
387
|
+
# 10
|
388
|
+
# ],
|
389
|
+
# [
|
390
|
+
# 3,
|
391
|
+
# "Mroonga",
|
392
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
393
|
+
# 15
|
394
|
+
# ]
|
395
|
+
# ]
|
396
|
+
# ]
|
397
|
+
# ]
|
398
|
+
</pre></div>
|
399
|
+
</div>
|
400
|
+
<p>この式は <a class="reference internal" href="../functions/edit_distance.html"><em>edit_distance</em></a> を使っています。この式は <tt class="docutils literal"><span class="pre">_key</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">"Groonga"</span></tt> に似ているレコードにマッチします。 <tt class="docutils literal"><span class="pre">"Groonga"</span></tt> との類似度は編集距離で計算します。編集距離が1文字以下なら似ているとします。この場合は <tt class="docutils literal"><span class="pre">"Groonga"</span></tt> と <tt class="docutils literal"><span class="pre">"Mroonga"</span></tt> が似ている値です。</p>
|
401
|
+
</div>
|
402
|
+
<div class="section" id="basic-operators">
|
403
|
+
<h2>8.8.2.6. 基本的な演算子<a class="headerlink" href="#basic-operators" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
404
|
+
<p>groongaはECMAScriptで定義されている演算子をサポートしています。</p>
|
405
|
+
<div class="section" id="arithmetic-operators">
|
406
|
+
<h3>8.8.2.6.1. 算術演算子<a class="headerlink" href="#arithmetic-operators" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
407
|
+
<p>以下は算術演算子の説明です。</p>
|
408
|
+
<div class="section" id="addition-operator">
|
409
|
+
<h4>8.8.2.6.1.1. 加算演算子<a class="headerlink" href="#addition-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
410
|
+
<p>構文は <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">+</span> <span class="pre">number2</span></tt> です。</p>
|
411
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">number1</span></tt> と <tt class="docutils literal"><span class="pre">number2</span></tt> を足した結果を返します。</p>
|
412
|
+
<p>以下は簡単な使用例です。</p>
|
413
|
+
<p>実行例:</p>
|
414
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 10 + 5'
|
415
|
+
# [
|
416
|
+
# [
|
417
|
+
# 0,
|
418
|
+
# 1337566253.89858,
|
419
|
+
# 0.000355720520019531
|
420
|
+
# ],
|
421
|
+
# [
|
422
|
+
# [
|
423
|
+
# [
|
424
|
+
# 1
|
425
|
+
# ],
|
426
|
+
# [
|
427
|
+
# [
|
428
|
+
# "_id",
|
429
|
+
# "UInt32"
|
430
|
+
# ],
|
431
|
+
# [
|
432
|
+
# "_key",
|
433
|
+
# "ShortText"
|
434
|
+
# ],
|
435
|
+
# [
|
436
|
+
# "content",
|
437
|
+
# "Text"
|
438
|
+
# ],
|
439
|
+
# [
|
440
|
+
# "n_likes",
|
441
|
+
# "UInt32"
|
442
|
+
# ]
|
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>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <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>
|
456
|
+
</div>
|
457
|
+
<div class="section" id="subtraction-operator">
|
458
|
+
<h4>8.8.2.6.1.2. 減算演算子<a class="headerlink" href="#subtraction-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
459
|
+
<p>構文は <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">-</span> <span class="pre">number2</span></tt> です。</p>
|
460
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">number2</span></tt> から <tt class="docutils literal"><span class="pre">number1</span></tt> を引いた結果を返します。</p>
|
461
|
+
<p>以下は簡単な使用例です。</p>
|
462
|
+
<p>実行例:</p>
|
463
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 20 - 5'
|
464
|
+
# [
|
465
|
+
# [
|
466
|
+
# 0,
|
467
|
+
# 1337566253.89858,
|
468
|
+
# 0.000355720520019531
|
469
|
+
# ],
|
470
|
+
# [
|
471
|
+
# [
|
472
|
+
# [
|
473
|
+
# 1
|
474
|
+
# ],
|
475
|
+
# [
|
476
|
+
# [
|
477
|
+
# "_id",
|
478
|
+
# "UInt32"
|
479
|
+
# ],
|
480
|
+
# [
|
481
|
+
# "_key",
|
482
|
+
# "ShortText"
|
483
|
+
# ],
|
484
|
+
# [
|
485
|
+
# "content",
|
486
|
+
# "Text"
|
487
|
+
# ],
|
488
|
+
# [
|
489
|
+
# "n_likes",
|
490
|
+
# "UInt32"
|
491
|
+
# ]
|
492
|
+
# ],
|
493
|
+
# [
|
494
|
+
# 3,
|
495
|
+
# "Mroonga",
|
496
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
497
|
+
# 15
|
498
|
+
# ]
|
499
|
+
# ]
|
500
|
+
# ]
|
501
|
+
# ]
|
502
|
+
</pre></div>
|
503
|
+
</div>
|
504
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <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>
|
505
|
+
</div>
|
506
|
+
<div class="section" id="multiplication-operator">
|
507
|
+
<h4>8.8.2.6.1.3. 乗算演算子<a class="headerlink" href="#multiplication-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
508
|
+
<p>構文は <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">*</span> <span class="pre">number2</span></tt> です。</p>
|
509
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">number1</span></tt> と <tt class="docutils literal"><span class="pre">number2</span></tt> を掛けた結果を返します。</p>
|
510
|
+
<p>以下は簡単な使用例です。</p>
|
511
|
+
<p>実行例:</p>
|
512
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 3 * 5'
|
513
|
+
# [
|
514
|
+
# [
|
515
|
+
# 0,
|
516
|
+
# 1337566253.89858,
|
517
|
+
# 0.000355720520019531
|
518
|
+
# ],
|
519
|
+
# [
|
520
|
+
# [
|
521
|
+
# [
|
522
|
+
# 1
|
523
|
+
# ],
|
524
|
+
# [
|
525
|
+
# [
|
526
|
+
# "_id",
|
527
|
+
# "UInt32"
|
528
|
+
# ],
|
529
|
+
# [
|
530
|
+
# "_key",
|
531
|
+
# "ShortText"
|
532
|
+
# ],
|
533
|
+
# [
|
534
|
+
# "content",
|
535
|
+
# "Text"
|
536
|
+
# ],
|
537
|
+
# [
|
538
|
+
# "n_likes",
|
539
|
+
# "UInt32"
|
540
|
+
# ]
|
541
|
+
# ],
|
542
|
+
# [
|
543
|
+
# 3,
|
544
|
+
# "Mroonga",
|
545
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
546
|
+
# 15
|
547
|
+
# ]
|
548
|
+
# ]
|
549
|
+
# ]
|
550
|
+
# ]
|
551
|
+
</pre></div>
|
552
|
+
</div>
|
553
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <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>
|
554
|
+
</div>
|
555
|
+
<div class="section" id="division-operator">
|
556
|
+
<h4>8.8.2.6.1.4. 除算演算子<a class="headerlink" href="#division-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
557
|
+
<p>構文は <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">/</span> <span class="pre">number2</span></tt> と <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">%</span> <span class="pre">number2</span></tt> です。</p>
|
558
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">number2</span></tt> を <tt class="docutils literal"><span class="pre">number1</span></tt> で割ります。 <tt class="docutils literal"><span class="pre">/</span></tt> は商を返します。 <tt class="docutils literal"><span class="pre">%</span></tt> は余りを返します。</p>
|
559
|
+
<p>以下は簡単な使用例です。</p>
|
560
|
+
<p>実行例:</p>
|
561
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 26 / 7'
|
562
|
+
# [
|
563
|
+
# [
|
564
|
+
# 0,
|
565
|
+
# 1337566253.89858,
|
566
|
+
# 0.000355720520019531
|
567
|
+
# ],
|
568
|
+
# [
|
569
|
+
# [
|
570
|
+
# [
|
571
|
+
# 2
|
572
|
+
# ],
|
573
|
+
# [
|
574
|
+
# [
|
575
|
+
# "_id",
|
576
|
+
# "UInt32"
|
577
|
+
# ],
|
578
|
+
# [
|
579
|
+
# "_key",
|
580
|
+
# "ShortText"
|
581
|
+
# ],
|
582
|
+
# [
|
583
|
+
# "content",
|
584
|
+
# "Text"
|
585
|
+
# ],
|
586
|
+
# [
|
587
|
+
# "n_likes",
|
588
|
+
# "UInt32"
|
589
|
+
# ]
|
590
|
+
# ],
|
591
|
+
# [
|
592
|
+
# 4,
|
593
|
+
# "Good-bye Senna",
|
594
|
+
# "I migrated all Senna system!",
|
595
|
+
# 3
|
596
|
+
# ],
|
597
|
+
# [
|
598
|
+
# 5,
|
599
|
+
# "Good-bye Tritonn",
|
600
|
+
# "I also migrated all Tritonn system!",
|
601
|
+
# 3
|
602
|
+
# ]
|
603
|
+
# ]
|
604
|
+
# ]
|
605
|
+
# ]
|
606
|
+
</pre></div>
|
607
|
+
</div>
|
608
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <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>
|
609
|
+
<p>実行例:</p>
|
610
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 26 % 7'
|
611
|
+
# [
|
612
|
+
# [
|
613
|
+
# 0,
|
614
|
+
# 1337566253.89858,
|
615
|
+
# 0.000355720520019531
|
616
|
+
# ],
|
617
|
+
# [
|
618
|
+
# [
|
619
|
+
# [
|
620
|
+
# 1
|
621
|
+
# ],
|
622
|
+
# [
|
623
|
+
# [
|
624
|
+
# "_id",
|
625
|
+
# "UInt32"
|
626
|
+
# ],
|
627
|
+
# [
|
628
|
+
# "_key",
|
629
|
+
# "ShortText"
|
630
|
+
# ],
|
631
|
+
# [
|
632
|
+
# "content",
|
633
|
+
# "Text"
|
634
|
+
# ],
|
635
|
+
# [
|
636
|
+
# "n_likes",
|
637
|
+
# "UInt32"
|
638
|
+
# ]
|
639
|
+
# ],
|
640
|
+
# [
|
641
|
+
# 1,
|
642
|
+
# "The first post!",
|
643
|
+
# "Welcome! This is my first post!",
|
644
|
+
# 5
|
645
|
+
# ]
|
646
|
+
# ]
|
647
|
+
# ]
|
648
|
+
# ]
|
649
|
+
</pre></div>
|
650
|
+
</div>
|
651
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <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>
|
652
|
+
</div>
|
653
|
+
</div>
|
654
|
+
<div class="section" id="logical-operators">
|
655
|
+
<h3>8.8.2.6.2. 論理演算子<a class="headerlink" href="#logical-operators" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
656
|
+
<p>以下は論理演算子の説明です。</p>
|
657
|
+
<div class="section" id="logical-not-operator">
|
658
|
+
<h4>8.8.2.6.2.1. 論理否定演算子<a class="headerlink" href="#logical-not-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
659
|
+
<p>構文は <tt class="docutils literal"><span class="pre">!condition</span></tt> です。</p>
|
660
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">condition</span></tt> の真偽値を反転します。</p>
|
661
|
+
<p>以下は簡単な使用例です。</p>
|
662
|
+
<p>実行例:</p>
|
663
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter '!(n_likes == 5)'
|
664
|
+
# [
|
665
|
+
# [
|
666
|
+
# 0,
|
667
|
+
# 1337566253.89858,
|
668
|
+
# 0.000355720520019531
|
669
|
+
# ],
|
670
|
+
# [
|
671
|
+
# [
|
672
|
+
# [
|
673
|
+
# 4
|
674
|
+
# ],
|
675
|
+
# [
|
676
|
+
# [
|
677
|
+
# "_id",
|
678
|
+
# "UInt32"
|
679
|
+
# ],
|
680
|
+
# [
|
681
|
+
# "_key",
|
682
|
+
# "ShortText"
|
683
|
+
# ],
|
684
|
+
# [
|
685
|
+
# "content",
|
686
|
+
# "Text"
|
687
|
+
# ],
|
688
|
+
# [
|
689
|
+
# "n_likes",
|
690
|
+
# "UInt32"
|
691
|
+
# ]
|
692
|
+
# ],
|
693
|
+
# [
|
694
|
+
# 4,
|
695
|
+
# "Good-bye Senna",
|
696
|
+
# "I migrated all Senna system!",
|
697
|
+
# 3
|
698
|
+
# ],
|
699
|
+
# [
|
700
|
+
# 5,
|
701
|
+
# "Good-bye Tritonn",
|
702
|
+
# "I also migrated all Tritonn system!",
|
703
|
+
# 3
|
704
|
+
# ],
|
705
|
+
# [
|
706
|
+
# 2,
|
707
|
+
# "Groonga",
|
708
|
+
# "I started to use groonga. It's very fast!",
|
709
|
+
# 10
|
710
|
+
# ],
|
711
|
+
# [
|
712
|
+
# 3,
|
713
|
+
# "Mroonga",
|
714
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
715
|
+
# 15
|
716
|
+
# ]
|
717
|
+
# ]
|
718
|
+
# ]
|
719
|
+
# ]
|
720
|
+
</pre></div>
|
721
|
+
</div>
|
722
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">5</span></tt> ではない式にマッチします。</p>
|
723
|
+
</div>
|
724
|
+
<div class="section" id="logical-and-operator">
|
725
|
+
<h4>8.8.2.6.2.2. 論理積演算子<a class="headerlink" href="#logical-and-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
726
|
+
<p>構文は <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">&&</span> <span class="pre">condition2</span></tt> です。</p>
|
727
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">condition1</span></tt> と <tt class="docutils literal"><span class="pre">condition2</span></tt> の両方が真のときに真を返し、そうでなければ偽を返します。</p>
|
728
|
+
<p>以下は簡単な使用例です。</p>
|
729
|
+
<p>実行例:</p>
|
730
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content @ "fast" && n_likes >= 10'
|
731
|
+
# [
|
732
|
+
# [
|
733
|
+
# 0,
|
734
|
+
# 1337566253.89858,
|
735
|
+
# 0.000355720520019531
|
736
|
+
# ],
|
737
|
+
# [
|
738
|
+
# [
|
739
|
+
# [
|
740
|
+
# 2
|
741
|
+
# ],
|
742
|
+
# [
|
743
|
+
# [
|
744
|
+
# "_id",
|
745
|
+
# "UInt32"
|
746
|
+
# ],
|
747
|
+
# [
|
748
|
+
# "_key",
|
749
|
+
# "ShortText"
|
750
|
+
# ],
|
751
|
+
# [
|
752
|
+
# "content",
|
753
|
+
# "Text"
|
754
|
+
# ],
|
755
|
+
# [
|
756
|
+
# "n_likes",
|
757
|
+
# "UInt32"
|
758
|
+
# ]
|
759
|
+
# ],
|
760
|
+
# [
|
761
|
+
# 2,
|
762
|
+
# "Groonga",
|
763
|
+
# "I started to use groonga. It's very fast!",
|
764
|
+
# 10
|
765
|
+
# ],
|
766
|
+
# [
|
767
|
+
# 3,
|
768
|
+
# "Mroonga",
|
769
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
770
|
+
# 15
|
771
|
+
# ]
|
772
|
+
# ]
|
773
|
+
# ]
|
774
|
+
# ]
|
775
|
+
</pre></div>
|
776
|
+
</div>
|
777
|
+
<p>この式は <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">fast</span></tt> を含んでいて、 <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">10</span></tt> 以上のレコードにマッチします。</p>
|
778
|
+
</div>
|
779
|
+
<div class="section" id="logical-or-operator">
|
780
|
+
<h4>8.8.2.6.2.3. 論理和演算子<a class="headerlink" href="#logical-or-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
781
|
+
<p>構文は <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">||</span> <span class="pre">condition2</span></tt> です。</p>
|
782
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">condition1</span></tt> と <tt class="docutils literal"><span class="pre">condition2</span></tt> のどちらか一方が真のときに真を返し、そうでなければ偽を返します。</p>
|
783
|
+
<p>以下は簡単な使用例です。</p>
|
784
|
+
<p>実行例:</p>
|
785
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 5 || n_likes == 10'
|
786
|
+
# [
|
787
|
+
# [
|
788
|
+
# 0,
|
789
|
+
# 1337566253.89858,
|
790
|
+
# 0.000355720520019531
|
791
|
+
# ],
|
792
|
+
# [
|
793
|
+
# [
|
794
|
+
# [
|
795
|
+
# 2
|
796
|
+
# ],
|
797
|
+
# [
|
798
|
+
# [
|
799
|
+
# "_id",
|
800
|
+
# "UInt32"
|
801
|
+
# ],
|
802
|
+
# [
|
803
|
+
# "_key",
|
804
|
+
# "ShortText"
|
805
|
+
# ],
|
806
|
+
# [
|
807
|
+
# "content",
|
808
|
+
# "Text"
|
809
|
+
# ],
|
810
|
+
# [
|
811
|
+
# "n_likes",
|
812
|
+
# "UInt32"
|
813
|
+
# ]
|
814
|
+
# ],
|
815
|
+
# [
|
816
|
+
# 1,
|
817
|
+
# "The first post!",
|
818
|
+
# "Welcome! This is my first post!",
|
819
|
+
# 5
|
820
|
+
# ],
|
821
|
+
# [
|
822
|
+
# 2,
|
823
|
+
# "Groonga",
|
824
|
+
# "I started to use groonga. It's very fast!",
|
825
|
+
# 10
|
826
|
+
# ]
|
827
|
+
# ]
|
828
|
+
# ]
|
829
|
+
# ]
|
830
|
+
</pre></div>
|
831
|
+
</div>
|
832
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">5</span></tt> または <tt class="docutils literal"><span class="pre">10</span></tt> のレコードにマッチします。</p>
|
833
|
+
</div>
|
834
|
+
<div class="section" id="logical-and-not-operator">
|
835
|
+
<h4>8.8.2.6.2.4. 論理差演算子<a class="headerlink" href="#logical-and-not-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
836
|
+
<p>構文は <tt class="docutils literal"><span class="pre">condition1</span> <span class="pre">&!</span> <span class="pre">condition2</span></tt> です。</p>
|
837
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">condition1</span></tt> が真で <tt class="docutils literal"><span class="pre">condition2</span></tt> が偽のときに真を返し、そうでなければ偽を返します。差集合を返すということです。</p>
|
838
|
+
<p>以下は簡単な使用例です。</p>
|
839
|
+
<p>実行例:</p>
|
840
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content @ "fast" &! content @ "mroonga"'
|
841
|
+
# [
|
842
|
+
# [
|
843
|
+
# 0,
|
844
|
+
# 1337566253.89858,
|
845
|
+
# 0.000355720520019531
|
846
|
+
# ],
|
847
|
+
# [
|
848
|
+
# [
|
849
|
+
# [
|
850
|
+
# 1
|
851
|
+
# ],
|
852
|
+
# [
|
853
|
+
# [
|
854
|
+
# "_id",
|
855
|
+
# "UInt32"
|
856
|
+
# ],
|
857
|
+
# [
|
858
|
+
# "_key",
|
859
|
+
# "ShortText"
|
860
|
+
# ],
|
861
|
+
# [
|
862
|
+
# "content",
|
863
|
+
# "Text"
|
864
|
+
# ],
|
865
|
+
# [
|
866
|
+
# "n_likes",
|
867
|
+
# "UInt32"
|
868
|
+
# ]
|
869
|
+
# ],
|
870
|
+
# [
|
871
|
+
# 2,
|
872
|
+
# "Groonga",
|
873
|
+
# "I started to use groonga. It's very fast!",
|
874
|
+
# 10
|
875
|
+
# ]
|
876
|
+
# ]
|
877
|
+
# ]
|
878
|
+
# ]
|
879
|
+
</pre></div>
|
880
|
+
</div>
|
881
|
+
<p>この式は <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">fast</span></tt> を含んでいるが <tt class="docutils literal"><span class="pre">mroonga</span></tt> を含んでいないレコードにマッチします。</p>
|
882
|
+
</div>
|
883
|
+
</div>
|
884
|
+
<div class="section" id="bitwise-operators">
|
885
|
+
<h3>8.8.2.6.3. ビット演算子<a class="headerlink" href="#bitwise-operators" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
886
|
+
<p>以下はビット演算子の説明です。</p>
|
887
|
+
<div class="section" id="bitwise-not-operator">
|
888
|
+
<h4>8.8.2.6.3.1. ビット否定演算子<a class="headerlink" href="#bitwise-not-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
889
|
+
<p>構文は <tt class="docutils literal"><span class="pre">~number</span></tt> です。</p>
|
890
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">number</span></tt> の各ビットを反転した結果を返します。</p>
|
891
|
+
<p>以下は簡単な使用例です。</p>
|
892
|
+
<p>実行例:</p>
|
893
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter '~n_likes == -6'
|
894
|
+
# [
|
895
|
+
# [
|
896
|
+
# 0,
|
897
|
+
# 1337566253.89858,
|
898
|
+
# 0.000355720520019531
|
899
|
+
# ],
|
900
|
+
# [
|
901
|
+
# [
|
902
|
+
# [
|
903
|
+
# 1
|
904
|
+
# ],
|
905
|
+
# [
|
906
|
+
# [
|
907
|
+
# "_id",
|
908
|
+
# "UInt32"
|
909
|
+
# ],
|
910
|
+
# [
|
911
|
+
# "_key",
|
912
|
+
# "ShortText"
|
913
|
+
# ],
|
914
|
+
# [
|
915
|
+
# "content",
|
916
|
+
# "Text"
|
917
|
+
# ],
|
918
|
+
# [
|
919
|
+
# "n_likes",
|
920
|
+
# "UInt32"
|
921
|
+
# ]
|
922
|
+
# ],
|
923
|
+
# [
|
924
|
+
# 1,
|
925
|
+
# "The first post!",
|
926
|
+
# "Welcome! This is my first post!",
|
927
|
+
# 5
|
928
|
+
# ]
|
929
|
+
# ]
|
930
|
+
# ]
|
931
|
+
# ]
|
932
|
+
</pre></div>
|
933
|
+
</div>
|
934
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">5</span></tt> のレコードにマッチします。なぜならば、 <tt class="docutils literal"><span class="pre">5</span></tt> の各ビットを反転すると <tt class="docutils literal"><span class="pre">-6</span></tt> になるからです。</p>
|
935
|
+
</div>
|
936
|
+
<div class="section" id="bitwise-and-operator">
|
937
|
+
<h4>8.8.2.6.3.2. ビット論理積演算子<a class="headerlink" href="#bitwise-and-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
938
|
+
<p>構文は <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">&</span> <span class="pre">number2</span></tt> です。</p>
|
939
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">number1</span></tt> と <tt class="docutils literal"><span class="pre">number2</span></tt> をビット単位で論理積をした結果を返します。</p>
|
940
|
+
<p>以下は簡単な使用例です。</p>
|
941
|
+
<p>実行例:</p>
|
942
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter '(n_likes & 1) == 1'
|
943
|
+
# [
|
944
|
+
# [
|
945
|
+
# 0,
|
946
|
+
# 1337566253.89858,
|
947
|
+
# 0.000355720520019531
|
948
|
+
# ],
|
949
|
+
# [
|
950
|
+
# [
|
951
|
+
# [
|
952
|
+
# 4
|
953
|
+
# ],
|
954
|
+
# [
|
955
|
+
# [
|
956
|
+
# "_id",
|
957
|
+
# "UInt32"
|
958
|
+
# ],
|
959
|
+
# [
|
960
|
+
# "_key",
|
961
|
+
# "ShortText"
|
962
|
+
# ],
|
963
|
+
# [
|
964
|
+
# "content",
|
965
|
+
# "Text"
|
966
|
+
# ],
|
967
|
+
# [
|
968
|
+
# "n_likes",
|
969
|
+
# "UInt32"
|
970
|
+
# ]
|
971
|
+
# ],
|
972
|
+
# [
|
973
|
+
# 4,
|
974
|
+
# "Good-bye Senna",
|
975
|
+
# "I migrated all Senna system!",
|
976
|
+
# 3
|
977
|
+
# ],
|
978
|
+
# [
|
979
|
+
# 5,
|
980
|
+
# "Good-bye Tritonn",
|
981
|
+
# "I also migrated all Tritonn system!",
|
982
|
+
# 3
|
983
|
+
# ],
|
984
|
+
# [
|
985
|
+
# 3,
|
986
|
+
# "Mroonga",
|
987
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
988
|
+
# 15
|
989
|
+
# ],
|
990
|
+
# [
|
991
|
+
# 1,
|
992
|
+
# "The first post!",
|
993
|
+
# "Welcome! This is my first post!",
|
994
|
+
# 5
|
995
|
+
# ]
|
996
|
+
# ]
|
997
|
+
# ]
|
998
|
+
# ]
|
999
|
+
</pre></div>
|
1000
|
+
</div>
|
1001
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が偶数のレコードにマッチします。なぜならば、偶数と <tt class="docutils literal"><span class="pre">1</span></tt> のビット単位の論理積は <tt class="docutils literal"><span class="pre">1</span></tt> になり、奇数と <tt class="docutils literal"><span class="pre">1</span></tt> のビット単位の論理積は <tt class="docutils literal"><span class="pre">0</span></tt> になるからです。</p>
|
1002
|
+
</div>
|
1003
|
+
</div>
|
1004
|
+
<div class="section" id="bitwise-or-operator">
|
1005
|
+
<h3>8.8.2.6.4. ビット論理和演算子<a class="headerlink" href="#bitwise-or-operator" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1006
|
+
<p>構文は <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">|</span> <span class="pre">number2</span></tt> です。</p>
|
1007
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">number1</span></tt> と <tt class="docutils literal"><span class="pre">number2</span></tt> をビット単位で論理和した結果を返します。</p>
|
1008
|
+
<p>以下は簡単な使用例です。</p>
|
1009
|
+
<p>実行例:</p>
|
1010
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (1 | 4)'
|
1011
|
+
# [
|
1012
|
+
# [
|
1013
|
+
# 0,
|
1014
|
+
# 1337566253.89858,
|
1015
|
+
# 0.000355720520019531
|
1016
|
+
# ],
|
1017
|
+
# [
|
1018
|
+
# [
|
1019
|
+
# [
|
1020
|
+
# 1
|
1021
|
+
# ],
|
1022
|
+
# [
|
1023
|
+
# [
|
1024
|
+
# "_id",
|
1025
|
+
# "UInt32"
|
1026
|
+
# ],
|
1027
|
+
# [
|
1028
|
+
# "_key",
|
1029
|
+
# "ShortText"
|
1030
|
+
# ],
|
1031
|
+
# [
|
1032
|
+
# "content",
|
1033
|
+
# "Text"
|
1034
|
+
# ],
|
1035
|
+
# [
|
1036
|
+
# "n_likes",
|
1037
|
+
# "UInt32"
|
1038
|
+
# ]
|
1039
|
+
# ],
|
1040
|
+
# [
|
1041
|
+
# 1,
|
1042
|
+
# "The first post!",
|
1043
|
+
# "Welcome! This is my first post!",
|
1044
|
+
# 5
|
1045
|
+
# ]
|
1046
|
+
# ]
|
1047
|
+
# ]
|
1048
|
+
# ]
|
1049
|
+
</pre></div>
|
1050
|
+
</div>
|
1051
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <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>
|
1052
|
+
</div>
|
1053
|
+
<div class="section" id="bitwise-xor-operator">
|
1054
|
+
<h3>8.8.2.6.5. ビット排他的論理和演算子<a class="headerlink" href="#bitwise-xor-operator" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1055
|
+
<p>構文は <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">^</span> <span class="pre">number2</span></tt> です。</p>
|
1056
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">number1</span></tt> と <tt class="docutils literal"><span class="pre">number2</span></tt> をビット単位で排他的論理和した結果を返します。</p>
|
1057
|
+
<p>以下は簡単な使用例です。</p>
|
1058
|
+
<p>実行例:</p>
|
1059
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (10 ^ 15)'
|
1060
|
+
# [
|
1061
|
+
# [
|
1062
|
+
# 0,
|
1063
|
+
# 1337566253.89858,
|
1064
|
+
# 0.000355720520019531
|
1065
|
+
# ],
|
1066
|
+
# [
|
1067
|
+
# [
|
1068
|
+
# [
|
1069
|
+
# 1
|
1070
|
+
# ],
|
1071
|
+
# [
|
1072
|
+
# [
|
1073
|
+
# "_id",
|
1074
|
+
# "UInt32"
|
1075
|
+
# ],
|
1076
|
+
# [
|
1077
|
+
# "_key",
|
1078
|
+
# "ShortText"
|
1079
|
+
# ],
|
1080
|
+
# [
|
1081
|
+
# "content",
|
1082
|
+
# "Text"
|
1083
|
+
# ],
|
1084
|
+
# [
|
1085
|
+
# "n_likes",
|
1086
|
+
# "UInt32"
|
1087
|
+
# ]
|
1088
|
+
# ],
|
1089
|
+
# [
|
1090
|
+
# 1,
|
1091
|
+
# "The first post!",
|
1092
|
+
# "Welcome! This is my first post!",
|
1093
|
+
# 5
|
1094
|
+
# ]
|
1095
|
+
# ]
|
1096
|
+
# ]
|
1097
|
+
# ]
|
1098
|
+
</pre></div>
|
1099
|
+
</div>
|
1100
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <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>
|
1101
|
+
</div>
|
1102
|
+
<div class="section" id="shift-operators">
|
1103
|
+
<h3>8.8.2.6.6. シフト演算子<a class="headerlink" href="#shift-operators" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1104
|
+
<p>以下はシフト演算子の説明です。</p>
|
1105
|
+
<div class="section" id="left-shift-operator">
|
1106
|
+
<h4>8.8.2.6.6.1. 左シフト演算子<a class="headerlink" href="#left-shift-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1107
|
+
<p>構文は <tt class="docutils literal"><span class="pre">number1</span> <span class="pre"><<</span> <span class="pre">number2</span></tt> です。</p>
|
1108
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">number1</span></tt> のビットを左に <tt class="docutils literal"><span class="pre">number2</span></tt> ビットシフトする。</p>
|
1109
|
+
<p>以下は簡単な使用例です。</p>
|
1110
|
+
<p>実行例:</p>
|
1111
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (5 << 1)'
|
1112
|
+
# [
|
1113
|
+
# [
|
1114
|
+
# 0,
|
1115
|
+
# 1337566253.89858,
|
1116
|
+
# 0.000355720520019531
|
1117
|
+
# ],
|
1118
|
+
# [
|
1119
|
+
# [
|
1120
|
+
# [
|
1121
|
+
# 1
|
1122
|
+
# ],
|
1123
|
+
# [
|
1124
|
+
# [
|
1125
|
+
# "_id",
|
1126
|
+
# "UInt32"
|
1127
|
+
# ],
|
1128
|
+
# [
|
1129
|
+
# "_key",
|
1130
|
+
# "ShortText"
|
1131
|
+
# ],
|
1132
|
+
# [
|
1133
|
+
# "content",
|
1134
|
+
# "Text"
|
1135
|
+
# ],
|
1136
|
+
# [
|
1137
|
+
# "n_likes",
|
1138
|
+
# "UInt32"
|
1139
|
+
# ]
|
1140
|
+
# ],
|
1141
|
+
# [
|
1142
|
+
# 2,
|
1143
|
+
# "Groonga",
|
1144
|
+
# "I started to use groonga. It's very fast!",
|
1145
|
+
# 10
|
1146
|
+
# ]
|
1147
|
+
# ]
|
1148
|
+
# ]
|
1149
|
+
# ]
|
1150
|
+
</pre></div>
|
1151
|
+
</div>
|
1152
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <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>
|
1153
|
+
</div>
|
1154
|
+
<div class="section" id="signed-right-shift-operator">
|
1155
|
+
<h4>8.8.2.6.6.2. 符号付き右シフト演算子<a class="headerlink" href="#signed-right-shift-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1156
|
+
<p>構文は <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">>></span> <span class="pre">number2</span></tt> です。</p>
|
1157
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">number1</span></tt> のビットを右に <tt class="docutils literal"><span class="pre">number2</span></tt> ビットシフトします。結果の符号は <tt class="docutils literal"><span class="pre">number1</span></tt> の符号と同じです。</p>
|
1158
|
+
<p>以下は簡単な使用例です。</p>
|
1159
|
+
<p>実行例:</p>
|
1160
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == -(-10 >> 1)'
|
1161
|
+
# [
|
1162
|
+
# [
|
1163
|
+
# 0,
|
1164
|
+
# 1337566253.89858,
|
1165
|
+
# 0.000355720520019531
|
1166
|
+
# ],
|
1167
|
+
# [
|
1168
|
+
# [
|
1169
|
+
# [
|
1170
|
+
# 1
|
1171
|
+
# ],
|
1172
|
+
# [
|
1173
|
+
# [
|
1174
|
+
# "_id",
|
1175
|
+
# "UInt32"
|
1176
|
+
# ],
|
1177
|
+
# [
|
1178
|
+
# "_key",
|
1179
|
+
# "ShortText"
|
1180
|
+
# ],
|
1181
|
+
# [
|
1182
|
+
# "content",
|
1183
|
+
# "Text"
|
1184
|
+
# ],
|
1185
|
+
# [
|
1186
|
+
# "n_likes",
|
1187
|
+
# "UInt32"
|
1188
|
+
# ]
|
1189
|
+
# ],
|
1190
|
+
# [
|
1191
|
+
# 1,
|
1192
|
+
# "The first post!",
|
1193
|
+
# "Welcome! This is my first post!",
|
1194
|
+
# 5
|
1195
|
+
# ]
|
1196
|
+
# ]
|
1197
|
+
# ]
|
1198
|
+
# ]
|
1199
|
+
</pre></div>
|
1200
|
+
</div>
|
1201
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <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>
|
1202
|
+
</div>
|
1203
|
+
<div class="section" id="unsigned-right-shift-operator">
|
1204
|
+
<h4>8.8.2.6.6.3. 符号なし右シフト演算子<a class="headerlink" href="#unsigned-right-shift-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1205
|
+
<p>構文は <tt class="docutils literal"><span class="pre">number1</span> <span class="pre">>>></span> <span class="pre">number2</span></tt> です。</p>
|
1206
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">number1</span></tt> のビットを右に <tt class="docutils literal"><span class="pre">number2</span></tt> ビットシフトします。一番左の <tt class="docutils literal"><span class="pre">number2</span></tt> ビットには <tt class="docutils literal"><span class="pre">0</span></tt> が入ります。</p>
|
1207
|
+
<p>以下は簡単な使用例です。</p>
|
1208
|
+
<p>実行例:</p>
|
1209
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == (2147483648 - (-10 >>> 1))'
|
1210
|
+
# [
|
1211
|
+
# [
|
1212
|
+
# 0,
|
1213
|
+
# 1337566253.89858,
|
1214
|
+
# 0.000355720520019531
|
1215
|
+
# ],
|
1216
|
+
# [
|
1217
|
+
# [
|
1218
|
+
# [
|
1219
|
+
# 1
|
1220
|
+
# ],
|
1221
|
+
# [
|
1222
|
+
# [
|
1223
|
+
# "_id",
|
1224
|
+
# "UInt32"
|
1225
|
+
# ],
|
1226
|
+
# [
|
1227
|
+
# "_key",
|
1228
|
+
# "ShortText"
|
1229
|
+
# ],
|
1230
|
+
# [
|
1231
|
+
# "content",
|
1232
|
+
# "Text"
|
1233
|
+
# ],
|
1234
|
+
# [
|
1235
|
+
# "n_likes",
|
1236
|
+
# "UInt32"
|
1237
|
+
# ]
|
1238
|
+
# ],
|
1239
|
+
# [
|
1240
|
+
# 1,
|
1241
|
+
# "The first post!",
|
1242
|
+
# "Welcome! This is my first post!",
|
1243
|
+
# 5
|
1244
|
+
# ]
|
1245
|
+
# ]
|
1246
|
+
# ]
|
1247
|
+
# ]
|
1248
|
+
</pre></div>
|
1249
|
+
</div>
|
1250
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <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>
|
1251
|
+
</div>
|
1252
|
+
</div>
|
1253
|
+
<div class="section" id="comparison-operators">
|
1254
|
+
<h3>8.8.2.6.7. 比較演算子<a class="headerlink" href="#comparison-operators" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1255
|
+
<p>以下は比較演算子の説明です。</p>
|
1256
|
+
<div class="section" id="equal-operator">
|
1257
|
+
<h4>8.8.2.6.7.1. 等価演算子<a class="headerlink" href="#equal-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1258
|
+
<p>構文は <tt class="docutils literal"><span class="pre">object1</span> <span class="pre">==</span> <span class="pre">object2</span></tt> です。</p>
|
1259
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">object1</span></tt> が <tt class="docutils literal"><span class="pre">object2</span></tt> と等しいときは真を返し、そうでなければ偽を返します。</p>
|
1260
|
+
<p>以下は簡単な使用例です。</p>
|
1261
|
+
<p>実行例:</p>
|
1262
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes == 5'
|
1263
|
+
# [
|
1264
|
+
# [
|
1265
|
+
# 0,
|
1266
|
+
# 1337566253.89858,
|
1267
|
+
# 0.000355720520019531
|
1268
|
+
# ],
|
1269
|
+
# [
|
1270
|
+
# [
|
1271
|
+
# [
|
1272
|
+
# 1
|
1273
|
+
# ],
|
1274
|
+
# [
|
1275
|
+
# [
|
1276
|
+
# "_id",
|
1277
|
+
# "UInt32"
|
1278
|
+
# ],
|
1279
|
+
# [
|
1280
|
+
# "_key",
|
1281
|
+
# "ShortText"
|
1282
|
+
# ],
|
1283
|
+
# [
|
1284
|
+
# "content",
|
1285
|
+
# "Text"
|
1286
|
+
# ],
|
1287
|
+
# [
|
1288
|
+
# "n_likes",
|
1289
|
+
# "UInt32"
|
1290
|
+
# ]
|
1291
|
+
# ],
|
1292
|
+
# [
|
1293
|
+
# 1,
|
1294
|
+
# "The first post!",
|
1295
|
+
# "Welcome! This is my first post!",
|
1296
|
+
# 5
|
1297
|
+
# ]
|
1298
|
+
# ]
|
1299
|
+
# ]
|
1300
|
+
# ]
|
1301
|
+
</pre></div>
|
1302
|
+
</div>
|
1303
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">5</span></tt> の値にマッチします。</p>
|
1304
|
+
</div>
|
1305
|
+
<div class="section" id="not-equal-operator">
|
1306
|
+
<h4>8.8.2.6.7.2. 不等価演算子<a class="headerlink" href="#not-equal-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1307
|
+
<p>構文は <tt class="docutils literal"><span class="pre">object1</span> <span class="pre">!=</span> <span class="pre">object2</span></tt> です。</p>
|
1308
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">object1</span></tt> が <tt class="docutils literal"><span class="pre">object2</span></tt> と等しくないときに真を返し、そうでなければ偽を返します。</p>
|
1309
|
+
<p>以下は簡単な使用例です。</p>
|
1310
|
+
<p>実行例:</p>
|
1311
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'n_likes != 5'
|
1312
|
+
# [
|
1313
|
+
# [
|
1314
|
+
# 0,
|
1315
|
+
# 1337566253.89858,
|
1316
|
+
# 0.000355720520019531
|
1317
|
+
# ],
|
1318
|
+
# [
|
1319
|
+
# [
|
1320
|
+
# [
|
1321
|
+
# 4
|
1322
|
+
# ],
|
1323
|
+
# [
|
1324
|
+
# [
|
1325
|
+
# "_id",
|
1326
|
+
# "UInt32"
|
1327
|
+
# ],
|
1328
|
+
# [
|
1329
|
+
# "_key",
|
1330
|
+
# "ShortText"
|
1331
|
+
# ],
|
1332
|
+
# [
|
1333
|
+
# "content",
|
1334
|
+
# "Text"
|
1335
|
+
# ],
|
1336
|
+
# [
|
1337
|
+
# "n_likes",
|
1338
|
+
# "UInt32"
|
1339
|
+
# ]
|
1340
|
+
# ],
|
1341
|
+
# [
|
1342
|
+
# 4,
|
1343
|
+
# "Good-bye Senna",
|
1344
|
+
# "I migrated all Senna system!",
|
1345
|
+
# 3
|
1346
|
+
# ],
|
1347
|
+
# [
|
1348
|
+
# 5,
|
1349
|
+
# "Good-bye Tritonn",
|
1350
|
+
# "I also migrated all Tritonn system!",
|
1351
|
+
# 3
|
1352
|
+
# ],
|
1353
|
+
# [
|
1354
|
+
# 2,
|
1355
|
+
# "Groonga",
|
1356
|
+
# "I started to use groonga. It's very fast!",
|
1357
|
+
# 10
|
1358
|
+
# ],
|
1359
|
+
# [
|
1360
|
+
# 3,
|
1361
|
+
# "Mroonga",
|
1362
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
1363
|
+
# 15
|
1364
|
+
# ]
|
1365
|
+
# ]
|
1366
|
+
# ]
|
1367
|
+
# ]
|
1368
|
+
</pre></div>
|
1369
|
+
</div>
|
1370
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">5</span></tt> ではない式にマッチします。</p>
|
1371
|
+
</div>
|
1372
|
+
<div class="section" id="less-than-operator">
|
1373
|
+
<h4>8.8.2.6.7.3. 小なり演算子<a class="headerlink" href="#less-than-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1374
|
+
<p>TODO: ...</p>
|
1375
|
+
</div>
|
1376
|
+
<div class="section" id="less-than-or-equal-to-operator">
|
1377
|
+
<h4>8.8.2.6.7.4. 以下演算子<a class="headerlink" href="#less-than-or-equal-to-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1378
|
+
<p>TODO: ...</p>
|
1379
|
+
</div>
|
1380
|
+
<div class="section" id="greater-than-operator">
|
1381
|
+
<h4>8.8.2.6.7.5. 大なり演算子<a class="headerlink" href="#greater-than-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1382
|
+
<p>TODO: ...</p>
|
1383
|
+
</div>
|
1384
|
+
<div class="section" id="greater-than-or-equal-to-operator">
|
1385
|
+
<h4>8.8.2.6.7.6. 以上演算子<a class="headerlink" href="#greater-than-or-equal-to-operator" title="このヘッドラインへのパーマリンク">¶</a></h4>
|
1386
|
+
<p>TODO: ...</p>
|
1387
|
+
</div>
|
1388
|
+
</div>
|
1389
|
+
</div>
|
1390
|
+
<div class="section" id="assignment-operators">
|
1391
|
+
<h2>8.8.2.7. 代入演算子<a class="headerlink" href="#assignment-operators" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
1392
|
+
<p>TODO: ...</p>
|
1393
|
+
</div>
|
1394
|
+
<div class="section" id="original-operators">
|
1395
|
+
<h2>8.8.2.8. 独自の演算子<a class="headerlink" href="#original-operators" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
1396
|
+
<p>スクリプト構文はECMAScriptの構文に独自の二項演算子を追加しています。これらは検索に特化した操作をします。演算子の最初の文字は <tt class="docutils literal"><span class="pre">@</span></tt> または <tt class="docutils literal"><span class="pre">*</span></tt> です。</p>
|
1397
|
+
<div class="section" id="match-operator">
|
1398
|
+
<span id="match-oeprator"></span><h3>8.8.2.8.1. マッチ演算子<a class="headerlink" href="#match-operator" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1399
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column</span> <span class="pre">@</span> <span class="pre">value</span></tt> です。</p>
|
1400
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">column</span></tt> の転置インデックスを使って <tt class="docutils literal"><span class="pre">value</span></tt> を検索します。普通は全文検索をしますが、タグ検索もできます。これは、タグ検索も転置インデックスを使って実現しているからです。</p>
|
1401
|
+
<p><a class="reference internal" href="query_syntax.html"><em>クエリ構文</em></a> はデフォルトでこの演算子を使っています。</p>
|
1402
|
+
<p>以下は簡単な使用例です。</p>
|
1403
|
+
<p>実行例:</p>
|
1404
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content @ "fast"' --output_columns content
|
1405
|
+
# [
|
1406
|
+
# [
|
1407
|
+
# 0,
|
1408
|
+
# 1337566253.89858,
|
1409
|
+
# 0.000355720520019531
|
1410
|
+
# ],
|
1411
|
+
# [
|
1412
|
+
# [
|
1413
|
+
# [
|
1414
|
+
# 2
|
1415
|
+
# ],
|
1416
|
+
# [
|
1417
|
+
# [
|
1418
|
+
# "content",
|
1419
|
+
# "Text"
|
1420
|
+
# ]
|
1421
|
+
# ],
|
1422
|
+
# [
|
1423
|
+
# "I started to use groonga. It's very fast!"
|
1424
|
+
# ],
|
1425
|
+
# [
|
1426
|
+
# "I also started to use mroonga. It's also very fast! Really fast!"
|
1427
|
+
# ]
|
1428
|
+
# ]
|
1429
|
+
# ]
|
1430
|
+
# ]
|
1431
|
+
</pre></div>
|
1432
|
+
</div>
|
1433
|
+
<p>この式は <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">fast</span></tt> という単語を含んでいるレコードにマッチします。</p>
|
1434
|
+
</div>
|
1435
|
+
<div class="section" id="prefix-search-operator">
|
1436
|
+
<span id="id1"></span><h3>8.8.2.8.2. 前方一致検索演算子<a class="headerlink" href="#prefix-search-operator" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1437
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column</span> <span class="pre">@^</span> <span class="pre">value</span></tt> です。</p>
|
1438
|
+
<p>この条件式は <tt class="docutils literal"><span class="pre">value</span></tt> で前方一致検索します。前方一致検索は <tt class="docutils literal"><span class="pre">value</span></tt> で始まる単語を含むレコードを検索します。</p>
|
1439
|
+
<p>カラムの値を高速に前方一致検索できます。ただし、そのカラムにはインデックスを作成し、そのインデックス用のテーブルをパトリシアトライ( <tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt> )またはダブル配列トライ( <tt class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></tt> )にしなければいけません。あるいは、パトリシアトライテーブルまたはダブル配列テーブルの <tt class="docutils literal"><span class="pre">_key</span></tt> も高速に前方一致検索できます。 <tt class="docutils literal"><span class="pre">_key</span></tt> にインデックスを作成する必要はありません。</p>
|
1440
|
+
<p>他の種類のテーブルでも前方一致検索を使えますがレコード全件を処理します。レコード数が少ない場合には問題ありませんが、レコード数が多いと時間がかかります。</p>
|
1441
|
+
<p>以下は簡単な使用例です。</p>
|
1442
|
+
<p>実行例:</p>
|
1443
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter '_key @^ "Goo"' --output_columns _key
|
1444
|
+
# [
|
1445
|
+
# [
|
1446
|
+
# 0,
|
1447
|
+
# 1337566253.89858,
|
1448
|
+
# 0.000355720520019531
|
1449
|
+
# ],
|
1450
|
+
# [
|
1451
|
+
# [
|
1452
|
+
# [
|
1453
|
+
# 2
|
1454
|
+
# ],
|
1455
|
+
# [
|
1456
|
+
# [
|
1457
|
+
# "_key",
|
1458
|
+
# "ShortText"
|
1459
|
+
# ]
|
1460
|
+
# ],
|
1461
|
+
# [
|
1462
|
+
# "Good-bye Tritonn"
|
1463
|
+
# ],
|
1464
|
+
# [
|
1465
|
+
# "Good-bye Senna"
|
1466
|
+
# ]
|
1467
|
+
# ]
|
1468
|
+
# ]
|
1469
|
+
# ]
|
1470
|
+
</pre></div>
|
1471
|
+
</div>
|
1472
|
+
<p>この式は <tt class="docutils literal"><span class="pre">_key</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">Goo</span></tt> で始まる単語を含むレコードにマッチします。この式には <tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Senna</span></tt> と <tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></tt> がマッチします。</p>
|
1473
|
+
</div>
|
1474
|
+
<div class="section" id="suffix-search-operator">
|
1475
|
+
<span id="id2"></span><h3>8.8.2.8.3. 後方一致検索演算子<a class="headerlink" href="#suffix-search-operator" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1476
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column</span> <span class="pre">@$</span> <span class="pre">value</span></tt> です。</p>
|
1477
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">value</span></tt> で後方一致検索します。後方一致検索は <tt class="docutils literal"><span class="pre">value</span></tt> で終わる単語を含むレコードを検索します。</p>
|
1478
|
+
<p>カラムの値を高速に後方一致検索できます。ただし、そのカラムにはインデックスを作成し、そのインデックス用のテーブルを <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> フラグ付きのパトリシアトライテーブル( <tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt> )にしなければいけません。 <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> フラグ付きのパトリシアトライテーブル( <tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt> )の <tt class="docutils literal"><span class="pre">_key</span></tt> 擬似カラムの値も高速に後方一致検索できます。 <tt class="docutils literal"><span class="pre">_key</span></tt> にはインデックスを作成する必要はありません。 <tt class="docutils literal"><span class="pre">_key</span></tt> ベースの高速な後方一致検索よりもカラムベースの高速な後方一致検索を使うことをおすすめします。 <tt class="docutils literal"><span class="pre">_key</span></tt> ベースの高速な後方一致検索は自動的に登録された部分文字列も返ってきます。(TODO: 後方一致検索に関するドキュメントを書いてここからリンクを張る。)</p>
|
1479
|
+
<div class="admonition note">
|
1480
|
+
<p class="first admonition-title">ノート</p>
|
1481
|
+
<p class="last">高速な後方一致検索は日本語のひらがななど非ASCII文字にしか使えません。ASCII文字には高速な後方一致検索を使えません。</p>
|
1482
|
+
</div>
|
1483
|
+
<p>後方一致検索は他の種類のテーブルもしくはパトリシアトライを <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> フラグなしで使用しているテーブルに対しても使えますが、レコード全件を処理します。レコード数が少ない場合には問題ありませんが、レコード数が多いと時間がかかります。</p>
|
1484
|
+
<p>簡単な例です。ASCII文字ではない文字である日本語のひらがなに対して高速な後方一致検索をしています。</p>
|
1485
|
+
<p>実行例:</p>
|
1486
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Titles TABLE_NO_KEY
|
1487
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1488
|
+
column_create Titles content COLUMN_SCALAR ShortText
|
1489
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1490
|
+
table_create SuffixSearchTerms TABLE_PAT_KEY|KEY_WITH_SIS ShortText
|
1491
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1492
|
+
column_create SuffixSearchTerms index COLUMN_INDEX Titles content
|
1493
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1494
|
+
load --table Titles
|
1495
|
+
[
|
1496
|
+
{"content": "ぐるんが"},
|
1497
|
+
{"content": "むるんが"},
|
1498
|
+
{"content": "せな"},
|
1499
|
+
{"content": "とりとん"}
|
1500
|
+
]
|
1501
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 4]
|
1502
|
+
select Titles --query 'content:$んが'
|
1503
|
+
# [
|
1504
|
+
# [
|
1505
|
+
# 0,
|
1506
|
+
# 1337566253.89858,
|
1507
|
+
# 0.000355720520019531
|
1508
|
+
# ],
|
1509
|
+
# [
|
1510
|
+
# [
|
1511
|
+
# [
|
1512
|
+
# 2
|
1513
|
+
# ],
|
1514
|
+
# [
|
1515
|
+
# [
|
1516
|
+
# "_id",
|
1517
|
+
# "UInt32"
|
1518
|
+
# ],
|
1519
|
+
# [
|
1520
|
+
# "content",
|
1521
|
+
# "ShortText"
|
1522
|
+
# ]
|
1523
|
+
# ],
|
1524
|
+
# [
|
1525
|
+
# 2,
|
1526
|
+
# "むるんが"
|
1527
|
+
# ],
|
1528
|
+
# [
|
1529
|
+
# 1,
|
1530
|
+
# "ぐるんが"
|
1531
|
+
# ]
|
1532
|
+
# ]
|
1533
|
+
# ]
|
1534
|
+
# ]
|
1535
|
+
</pre></div>
|
1536
|
+
</div>
|
1537
|
+
<p>この式は <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">んが</span></tt> で終わるレコードにマッチします。この場合は <tt class="docutils literal"><span class="pre">ぐるんが</span></tt> と <tt class="docutils literal"><span class="pre">むるんが</span></tt> にマッチします。</p>
|
1538
|
+
</div>
|
1539
|
+
<div class="section" id="near-search-operator">
|
1540
|
+
<span id="id3"></span><h3>8.8.2.8.4. 近傍検索演算子<a class="headerlink" href="#near-search-operator" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1541
|
+
<p>構文は <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>
|
1542
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span> <span class="pre">...</span></tt> という単語で近傍検索します。近傍検索はすべての単語が含まれていてかつそれぞれの単語が近くにあるレコードを検索します。距離が <tt class="docutils literal"><span class="pre">10</span></tt> 以内の近さであれば近くにあると判断します。今のところ、この値は変更できません。距離の単位はN-gram系のトークナイザーでは文字数で、形態素解析系のトークナイザーでは単語数です。</p>
|
1543
|
+
<p>(TODO: <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> はASCIIだけの単語はトークンに分割しないという説明を追加すること。このため、 <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> はN-gram系のトークナイザーだけどASCIIだけの単語を扱う時の単位は単語数になる。)</p>
|
1544
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> 用の全文検索用インデックスカラムを定義しておく必要があることに注意してください。</p>
|
1545
|
+
<p>以下は簡単な使用例です。</p>
|
1546
|
+
<p>実行例:</p>
|
1547
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content *N "I fast"' --output_columns content
|
1548
|
+
# [
|
1549
|
+
# [
|
1550
|
+
# 0,
|
1551
|
+
# 1337566253.89858,
|
1552
|
+
# 0.000355720520019531
|
1553
|
+
# ],
|
1554
|
+
# [
|
1555
|
+
# [
|
1556
|
+
# [
|
1557
|
+
# 1
|
1558
|
+
# ],
|
1559
|
+
# [
|
1560
|
+
# [
|
1561
|
+
# "content",
|
1562
|
+
# "Text"
|
1563
|
+
# ]
|
1564
|
+
# ],
|
1565
|
+
# [
|
1566
|
+
# "I started to use groonga. It's very fast!"
|
1567
|
+
# ]
|
1568
|
+
# ]
|
1569
|
+
# ]
|
1570
|
+
# ]
|
1571
|
+
select Entries --filter 'content *N "I Really"' --output_columns content
|
1572
|
+
# [[0, 1337566253.89858, 0.000355720520019531], [[[0], [["content", "Text"]]]]]
|
1573
|
+
select Entries --filter 'content *N "also Really"' --output_columns content
|
1574
|
+
# [
|
1575
|
+
# [
|
1576
|
+
# 0,
|
1577
|
+
# 1337566253.89858,
|
1578
|
+
# 0.000355720520019531
|
1579
|
+
# ],
|
1580
|
+
# [
|
1581
|
+
# [
|
1582
|
+
# [
|
1583
|
+
# 1
|
1584
|
+
# ],
|
1585
|
+
# [
|
1586
|
+
# [
|
1587
|
+
# "content",
|
1588
|
+
# "Text"
|
1589
|
+
# ]
|
1590
|
+
# ],
|
1591
|
+
# [
|
1592
|
+
# "I also started to use mroonga. It's also very fast! Really fast!"
|
1593
|
+
# ]
|
1594
|
+
# ]
|
1595
|
+
# ]
|
1596
|
+
# ]
|
1597
|
+
</pre></div>
|
1598
|
+
</div>
|
1599
|
+
<p>最初の式は <tt class="docutils literal"><span class="pre">I</span></tt> と <tt class="docutils literal"><span class="pre">fast</span></tt> が含まれていて、かつ、これらの単語が10単語以内近くにあるレコードにマッチします。そのため <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> <span class="pre">fast!</span> <span class="pre">...</span></tt> にマッチします。 <tt class="docutils literal"><span class="pre">I</span></tt> と <tt class="docutils literal"><span class="pre">fast</span></tt> の間の単語数はちょうど10です。</p>
|
1600
|
+
<p>二番目の式は <tt class="docutils literal"><span class="pre">I</span></tt> と <tt class="docutils literal"><span class="pre">Really</span></tt> が含まれていて、かつ、これらの単語が10単語以内近くにあるレコードにマッチします。そのため、 <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> <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> はマッチしません。 <tt class="docutils literal"><span class="pre">I</span></tt> と <tt class="docutils literal"><span class="pre">Really</span></tt> の間の単語数は11です。</p>
|
1601
|
+
<p>三番目の式は <tt class="docutils literal"><span class="pre">also</span></tt> と <tt class="docutils literal"><span class="pre">Really</span></tt> が含まれていて、かつ、これらの単語が10単語以内近くにあるレコードにマッチします。そのため、 <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> <span class="pre">fast!</span> <span class="pre">Really</span> <span class="pre">fast!</span></tt> にマッチします。 <tt class="docutils literal"><span class="pre">also</span></tt> と <tt class="docutils literal"><span class="pre">Really</span></tt> の間の単語数は10です。</p>
|
1602
|
+
</div>
|
1603
|
+
<div class="section" id="similar-search">
|
1604
|
+
<span id="similar-search-operator"></span><h3>8.8.2.8.5. 類似文書検索<a class="headerlink" href="#similar-search" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1605
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column</span> <span class="pre">*S</span> <span class="pre">"document"</span></tt> です。</p>
|
1606
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">document</span></tt> という文書で類似文書検索します。類似文書検索は <tt class="docutils literal"><span class="pre">document</span></tt> と似た内容を持つレコードを検索します。</p>
|
1607
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> 用の全文検索用インデックスカラムを定義しておく必要があることに注意してください。</p>
|
1608
|
+
<p>以下は簡単な使用例です。</p>
|
1609
|
+
<p>実行例:</p>
|
1610
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --filter 'content *S "I migrated all Solr system!"' --output_columns content
|
1611
|
+
# [
|
1612
|
+
# [
|
1613
|
+
# 0,
|
1614
|
+
# 1337566253.89858,
|
1615
|
+
# 0.000355720520019531
|
1616
|
+
# ],
|
1617
|
+
# [
|
1618
|
+
# [
|
1619
|
+
# [
|
1620
|
+
# 2
|
1621
|
+
# ],
|
1622
|
+
# [
|
1623
|
+
# [
|
1624
|
+
# "content",
|
1625
|
+
# "Text"
|
1626
|
+
# ]
|
1627
|
+
# ],
|
1628
|
+
# [
|
1629
|
+
# "I migrated all Senna system!"
|
1630
|
+
# ],
|
1631
|
+
# [
|
1632
|
+
# "I also migrated all Tritonn system!"
|
1633
|
+
# ]
|
1634
|
+
# ]
|
1635
|
+
# ]
|
1636
|
+
# ]
|
1637
|
+
</pre></div>
|
1638
|
+
</div>
|
1639
|
+
<p>この式は <tt class="docutils literal"><span class="pre">I</span> <span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">Solr</span> <span class="pre">system!</span></tt> と似た内容を持つレコードを検索します。この場合は、 <tt class="docutils literal"><span class="pre">I</span> <span class="pre">migrated</span> <span class="pre">all</span> <span class="pre">XXX</span> <span class="pre">system!</span></tt> という内容のレコードがマッチします。</p>
|
1640
|
+
</div>
|
1641
|
+
<div class="section" id="term-extract-operator">
|
1642
|
+
<span id="id4"></span><h3>8.8.2.8.6. 単語抽出演算子<a class="headerlink" href="#term-extract-operator" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1643
|
+
<p>構文は <tt class="docutils literal"><span class="pre">_key</span> <span class="pre">*T</span> <span class="pre">"document"</span></tt> です。</p>
|
1644
|
+
<p>この演算子は <tt class="docutils literal"><span class="pre">document</span></tt> から単語を抽出します。単語は <tt class="docutils literal"><span class="pre">_key</span></tt> のテーブルのキーとして登録されていなければいけません。</p>
|
1645
|
+
<p>テーブルはパトリシアトライ( <tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt> )またはダブル配列トライ( <tt class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></tt> )でなければいけません。ハッシュテーブル( <tt class="docutils literal"><span class="pre">TABLE_HASH_KEY</span></tt> )や配列( <tt class="docutils literal"><span class="pre">TABLE_NO_KEY</span></tt> )は最長共通接頭辞検索(Longest Common Prefix Search)できないため使えません。この演算子は最長共通接頭辞検索を使っています。</p>
|
1646
|
+
<p>以下は簡単な使用例です。</p>
|
1647
|
+
<p>実行例:</p>
|
1648
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Words TABLE_PAT_KEY|KEY_NORMALIZE ShortText
|
1649
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
1650
|
+
load --table Words
|
1651
|
+
[
|
1652
|
+
{"_key": "groonga"},
|
1653
|
+
{"_key": "mroonga"},
|
1654
|
+
{"_key": "Senna"},
|
1655
|
+
{"_key": "Tritonn"}
|
1656
|
+
]
|
1657
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 4]
|
1658
|
+
select Words --filter '_key *T "Groonga is the successor project to Senna."' --output_columns _key
|
1659
|
+
# [
|
1660
|
+
# [
|
1661
|
+
# 0,
|
1662
|
+
# 1337566253.89858,
|
1663
|
+
# 0.000355720520019531
|
1664
|
+
# ],
|
1665
|
+
# [
|
1666
|
+
# [
|
1667
|
+
# [
|
1668
|
+
# 2
|
1669
|
+
# ],
|
1670
|
+
# [
|
1671
|
+
# [
|
1672
|
+
# "_key",
|
1673
|
+
# "ShortText"
|
1674
|
+
# ]
|
1675
|
+
# ],
|
1676
|
+
# [
|
1677
|
+
# "groonga"
|
1678
|
+
# ],
|
1679
|
+
# [
|
1680
|
+
# "senna"
|
1681
|
+
# ]
|
1682
|
+
# ]
|
1683
|
+
# ]
|
1684
|
+
# ]
|
1685
|
+
</pre></div>
|
1686
|
+
</div>
|
1687
|
+
<p>この式は文書 <tt class="docutils literal"><span class="pre">Groonga</span> <span class="pre">is</span> <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> に含まれている単語を抽出します。今回は <tt class="docutils literal"><span class="pre">Words</span></tt> に <tt class="docutils literal"><span class="pre">KEY_NORMALIZE</span></tt> フラグが指定されています。そのため、 <tt class="docutils literal"><span class="pre">Words</span></tt> には <tt class="docutils literal"><span class="pre">groonga</span></tt> とロードしていますが <tt class="docutils literal"><span class="pre">Groonga</span></tt> も抽出できています。また、全ての抽出された単語も正規化されています。</p>
|
1688
|
+
</div>
|
1689
|
+
</div>
|
1690
|
+
</div>
|
1691
|
+
|
1692
|
+
|
1693
|
+
</div>
|
1694
|
+
</div>
|
1695
|
+
</div>
|
1696
|
+
<div class="sphinxsidebar">
|
1697
|
+
<div class="sphinxsidebarwrapper">
|
1698
|
+
<h3><a href="../../index.html">目次</a></h3>
|
1699
|
+
<ul>
|
1700
|
+
<li><a class="reference internal" href="#">8.8.2. スクリプト構文</a><ul>
|
1701
|
+
<li><a class="reference internal" href="#sample-data">8.8.2.1. サンプルデータ</a></li>
|
1702
|
+
<li><a class="reference internal" href="#literals">8.8.2.2. リテラル</a><ul>
|
1703
|
+
<li><a class="reference internal" href="#integer">8.8.2.2.1. 整数</a></li>
|
1704
|
+
<li><a class="reference internal" href="#float">8.8.2.2.2. 浮動小数点数</a></li>
|
1705
|
+
<li><a class="reference internal" href="#string">8.8.2.2.3. 文字列</a></li>
|
1706
|
+
<li><a class="reference internal" href="#boolean">8.8.2.2.4. 真偽値</a></li>
|
1707
|
+
<li><a class="reference internal" href="#null">8.8.2.2.5. NULL</a></li>
|
1708
|
+
<li><a class="reference internal" href="#time">8.8.2.2.6. 時間</a></li>
|
1709
|
+
<li><a class="reference internal" href="#geo-point">8.8.2.2.7. 座標値</a></li>
|
1710
|
+
<li><a class="reference internal" href="#array">8.8.2.2.8. 配列</a></li>
|
1711
|
+
<li><a class="reference internal" href="#object-literal">8.8.2.2.9. オブジェクトリテラル</a></li>
|
1712
|
+
</ul>
|
1713
|
+
</li>
|
1714
|
+
<li><a class="reference internal" href="#control-syntaxes">8.8.2.3. 制御構文</a></li>
|
1715
|
+
<li><a class="reference internal" href="#grouping">8.8.2.4. グループ化</a></li>
|
1716
|
+
<li><a class="reference internal" href="#function-call">8.8.2.5. 関数呼び出し</a></li>
|
1717
|
+
<li><a class="reference internal" href="#basic-operators">8.8.2.6. 基本的な演算子</a><ul>
|
1718
|
+
<li><a class="reference internal" href="#arithmetic-operators">8.8.2.6.1. 算術演算子</a><ul>
|
1719
|
+
<li><a class="reference internal" href="#addition-operator">8.8.2.6.1.1. 加算演算子</a></li>
|
1720
|
+
<li><a class="reference internal" href="#subtraction-operator">8.8.2.6.1.2. 減算演算子</a></li>
|
1721
|
+
<li><a class="reference internal" href="#multiplication-operator">8.8.2.6.1.3. 乗算演算子</a></li>
|
1722
|
+
<li><a class="reference internal" href="#division-operator">8.8.2.6.1.4. 除算演算子</a></li>
|
1723
|
+
</ul>
|
1724
|
+
</li>
|
1725
|
+
<li><a class="reference internal" href="#logical-operators">8.8.2.6.2. 論理演算子</a><ul>
|
1726
|
+
<li><a class="reference internal" href="#logical-not-operator">8.8.2.6.2.1. 論理否定演算子</a></li>
|
1727
|
+
<li><a class="reference internal" href="#logical-and-operator">8.8.2.6.2.2. 論理積演算子</a></li>
|
1728
|
+
<li><a class="reference internal" href="#logical-or-operator">8.8.2.6.2.3. 論理和演算子</a></li>
|
1729
|
+
<li><a class="reference internal" href="#logical-and-not-operator">8.8.2.6.2.4. 論理差演算子</a></li>
|
1730
|
+
</ul>
|
1731
|
+
</li>
|
1732
|
+
<li><a class="reference internal" href="#bitwise-operators">8.8.2.6.3. ビット演算子</a><ul>
|
1733
|
+
<li><a class="reference internal" href="#bitwise-not-operator">8.8.2.6.3.1. ビット否定演算子</a></li>
|
1734
|
+
<li><a class="reference internal" href="#bitwise-and-operator">8.8.2.6.3.2. ビット論理積演算子</a></li>
|
1735
|
+
</ul>
|
1736
|
+
</li>
|
1737
|
+
<li><a class="reference internal" href="#bitwise-or-operator">8.8.2.6.4. ビット論理和演算子</a></li>
|
1738
|
+
<li><a class="reference internal" href="#bitwise-xor-operator">8.8.2.6.5. ビット排他的論理和演算子</a></li>
|
1739
|
+
<li><a class="reference internal" href="#shift-operators">8.8.2.6.6. シフト演算子</a><ul>
|
1740
|
+
<li><a class="reference internal" href="#left-shift-operator">8.8.2.6.6.1. 左シフト演算子</a></li>
|
1741
|
+
<li><a class="reference internal" href="#signed-right-shift-operator">8.8.2.6.6.2. 符号付き右シフト演算子</a></li>
|
1742
|
+
<li><a class="reference internal" href="#unsigned-right-shift-operator">8.8.2.6.6.3. 符号なし右シフト演算子</a></li>
|
1743
|
+
</ul>
|
1744
|
+
</li>
|
1745
|
+
<li><a class="reference internal" href="#comparison-operators">8.8.2.6.7. 比較演算子</a><ul>
|
1746
|
+
<li><a class="reference internal" href="#equal-operator">8.8.2.6.7.1. 等価演算子</a></li>
|
1747
|
+
<li><a class="reference internal" href="#not-equal-operator">8.8.2.6.7.2. 不等価演算子</a></li>
|
1748
|
+
<li><a class="reference internal" href="#less-than-operator">8.8.2.6.7.3. 小なり演算子</a></li>
|
1749
|
+
<li><a class="reference internal" href="#less-than-or-equal-to-operator">8.8.2.6.7.4. 以下演算子</a></li>
|
1750
|
+
<li><a class="reference internal" href="#greater-than-operator">8.8.2.6.7.5. 大なり演算子</a></li>
|
1751
|
+
<li><a class="reference internal" href="#greater-than-or-equal-to-operator">8.8.2.6.7.6. 以上演算子</a></li>
|
1752
|
+
</ul>
|
1753
|
+
</li>
|
1754
|
+
</ul>
|
1755
|
+
</li>
|
1756
|
+
<li><a class="reference internal" href="#assignment-operators">8.8.2.7. 代入演算子</a></li>
|
1757
|
+
<li><a class="reference internal" href="#original-operators">8.8.2.8. 独自の演算子</a><ul>
|
1758
|
+
<li><a class="reference internal" href="#match-operator">8.8.2.8.1. マッチ演算子</a></li>
|
1759
|
+
<li><a class="reference internal" href="#prefix-search-operator">8.8.2.8.2. 前方一致検索演算子</a></li>
|
1760
|
+
<li><a class="reference internal" href="#suffix-search-operator">8.8.2.8.3. 後方一致検索演算子</a></li>
|
1761
|
+
<li><a class="reference internal" href="#near-search-operator">8.8.2.8.4. 近傍検索演算子</a></li>
|
1762
|
+
<li><a class="reference internal" href="#similar-search">8.8.2.8.5. 類似文書検索</a></li>
|
1763
|
+
<li><a class="reference internal" href="#term-extract-operator">8.8.2.8.6. 単語抽出演算子</a></li>
|
1764
|
+
</ul>
|
1765
|
+
</li>
|
1766
|
+
</ul>
|
1767
|
+
</li>
|
1768
|
+
</ul>
|
1769
|
+
|
1770
|
+
<h4>前のトピックへ</h4>
|
1771
|
+
<p class="topless"><a href="query_syntax.html"
|
1772
|
+
title="前の章へ">8.8.1. クエリ構文</a></p>
|
1773
|
+
<h4>次のトピックへ</h4>
|
1774
|
+
<p class="topless"><a href="../functions.html"
|
1775
|
+
title="次の章へ">8.9. 組み込み関数一覧</a></p>
|
1776
|
+
<h3>このページ</h3>
|
1777
|
+
<ul class="this-page-menu">
|
1778
|
+
<li><a href="../../_sources/reference/grn_expr/script_syntax.txt"
|
1779
|
+
rel="nofollow">ソースコードを表示</a></li>
|
1780
|
+
</ul>
|
1781
|
+
<div id="searchbox" style="display: none">
|
1782
|
+
<h3>クイック検索</h3>
|
1783
|
+
<form class="search" action="../../search.html" method="get">
|
1784
|
+
<input type="text" name="q" />
|
1785
|
+
<input type="submit" value="検索" />
|
1786
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
1787
|
+
<input type="hidden" name="area" value="default" />
|
1788
|
+
</form>
|
1789
|
+
<p class="searchtip" style="font-size: 90%">
|
1790
|
+
モジュール、クラス、または関数名を入力してください
|
1791
|
+
</p>
|
1792
|
+
</div>
|
1793
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
1794
|
+
</div>
|
1795
|
+
</div>
|
1796
|
+
<div class="clearer"></div>
|
1797
|
+
</div>
|
1798
|
+
<div class="related">
|
1799
|
+
<h3>ナビゲーション</h3>
|
1800
|
+
<ul>
|
1801
|
+
<li class="right" style="margin-right: 10px">
|
1802
|
+
<a href="../../genindex.html" title="総合索引"
|
1803
|
+
>索引</a></li>
|
1804
|
+
<li class="right" >
|
1805
|
+
<a href="../functions.html" title="8.9. 組み込み関数一覧"
|
1806
|
+
>次へ</a> |</li>
|
1807
|
+
<li class="right" >
|
1808
|
+
<a href="query_syntax.html" title="8.8.1. クエリ構文"
|
1809
|
+
>前へ</a> |</li>
|
1810
|
+
<li><a href="../../index.html">groonga v2.0.7ドキュメント</a> »</li>
|
1811
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
1812
|
+
<li><a href="../grn_expr.html" >8.8. grn_expr</a> »</li>
|
1813
|
+
</ul>
|
1814
|
+
</div>
|
1815
|
+
<div class="footer">
|
1816
|
+
© Copyright 2009-2012, Brazil, Inc.
|
1817
|
+
</div>
|
1818
|
+
</body>
|
1819
|
+
</html>
|