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,1210 @@
|
|
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.1. クエリ構文 — 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.8.2. スクリプト構文" href="script_syntax.html" />
|
34
|
+
<link rel="prev" title="8.8. grn_expr" href="../grn_expr.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/query_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="script_syntax.html" title="8.8.2. スクリプト構文"
|
62
|
+
accesskey="N">次へ</a> |</li>
|
63
|
+
<li class="right" >
|
64
|
+
<a href="../grn_expr.html" title="8.8. grn_expr"
|
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="query-syntax">
|
78
|
+
<h1>8.8.1. クエリ構文<a class="headerlink" href="#query-syntax" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
79
|
+
<p>クエリ構文は一般的なWebの検索フォームで検索条件を指定するための構文です。Googleの検索フォームで使われている構文に似ています。例えば、 <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></tt> は <tt class="docutils literal"><span class="pre">word1</span></tt> と <tt class="docutils literal"><span class="pre">word2</span></tt> の両方の単語を含んだレコードを検索するという意味です。 <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">OR</span> <span class="pre">word2</span></tt> は <tt class="docutils literal"><span class="pre">word1</span></tt> または <tt class="docutils literal"><span class="pre">word2</span></tt> のどちらかの単語を含んだレコードを検索します。</p>
|
80
|
+
<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">代入式</span></tt> は <a class="reference internal" href="../commands/select.html"><em>select</em></a> の <tt class="docutils literal"><span class="pre">--query</span></tt> オプションでは無効になっているからです。groongaをライブラリとして使ったときは、クエリ構文のパーサーのオプションをカスタマイズすることで <tt class="docutils literal"><span class="pre">代入式</span></tt> を有効にすることができます。</p>
|
81
|
+
<p><tt class="docutils literal"><span class="pre">条件式</span></tt> は条件を指定します。 <tt class="docutils literal"><span class="pre">結合式</span></tt> は1つ以上の <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> はカラムに値を代入します。</p>
|
82
|
+
<div class="section" id="sample-data">
|
83
|
+
<h2>8.8.1.1. サンプルデータ<a class="headerlink" href="#sample-data" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
84
|
+
<p>使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。</p>
|
85
|
+
<p>実行例:</p>
|
86
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Entries TABLE_PAT_KEY ShortText
|
87
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
88
|
+
column_create Entries content COLUMN_SCALAR Text
|
89
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
90
|
+
column_create Entries n_likes COLUMN_SCALAR UInt32
|
91
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
92
|
+
table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
93
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
94
|
+
column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
|
95
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
96
|
+
column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
|
97
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
98
|
+
load --table Entries
|
99
|
+
[
|
100
|
+
{"_key": "The first post!",
|
101
|
+
"content": "Welcome! This is my first post!",
|
102
|
+
"n_likes": 5},
|
103
|
+
{"_key": "Groonga",
|
104
|
+
"content": "I started to use groonga. It's very fast!",
|
105
|
+
"n_likes": 10},
|
106
|
+
{"_key": "Mroonga",
|
107
|
+
"content": "I also started to use mroonga. It's also very fast! Really fast!",
|
108
|
+
"n_likes": 15},
|
109
|
+
{"_key": "Good-bye Senna",
|
110
|
+
"content": "I migrated all Senna system!",
|
111
|
+
"n_likes": 3},
|
112
|
+
{"_key": "Good-bye Tritonn",
|
113
|
+
"content": "I also migrated all Tritonn system!",
|
114
|
+
"n_likes": 3}
|
115
|
+
]
|
116
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
117
|
+
</pre></div>
|
118
|
+
</div>
|
119
|
+
<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>
|
120
|
+
<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>
|
121
|
+
<p>これで例を示すためのスキーマとデータの準備ができました。</p>
|
122
|
+
</div>
|
123
|
+
<div class="section" id="escape">
|
124
|
+
<h2>8.8.1.2. エスケープ<a class="headerlink" href="#escape" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
125
|
+
<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> というようにエスケープします。</p>
|
126
|
+
<p>以下が特別な文字のリストです:</p>
|
127
|
+
<blockquote>
|
128
|
+
<div><ul class="simple">
|
129
|
+
<li><tt class="docutils literal"><span class="pre">[space]</span></tt> ( <tt class="docutils literal"><span class="pre">[backquote][space]</span></tt> とエスケープする。)( <tt class="docutils literal"><span class="pre">[space]</span></tt> をASCIIで言えば0x20の空白文字に置き換えて、 <tt class="docutils literal"><span class="pre">[backquote]</span></tt> を <tt class="docutils literal"><span class="pre">\\</span></tt> に置き換えてください。)</li>
|
130
|
+
<li><tt class="docutils literal"><span class="pre">"</span></tt> ( <tt class="docutils literal"><span class="pre">\"</span></tt> とエスケープする。)</li>
|
131
|
+
<li><tt class="docutils literal"><span class="pre">'</span></tt> ( <tt class="docutils literal"><span class="pre">\'</span></tt> とエスケープする。)</li>
|
132
|
+
<li><tt class="docutils literal"><span class="pre">(</span></tt> ( <tt class="docutils literal"><span class="pre">\(</span></tt> とエスケープする。)</li>
|
133
|
+
<li><tt class="docutils literal"><span class="pre">)</span></tt> ( <tt class="docutils literal"><span class="pre">\)</span></tt> とエスケープする。)</li>
|
134
|
+
<li><tt class="docutils literal"><span class="pre">\</span></tt> ( <tt class="docutils literal"><span class="pre">\\</span></tt> とエスケープする。)</li>
|
135
|
+
</ul>
|
136
|
+
</div></blockquote>
|
137
|
+
<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">\"</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">Alice's</span> <span class="pre">brother</span> <span class="pre">(Bob)</span></tt> は <tt class="docutils literal"><span class="pre">"Alice's</span> <span class="pre">brother</span> <span class="pre">(Bob)"</span></tt> あるいは <tt class="docutils literal"><span class="pre">'Alice\'s</span> <span class="pre">brother</span> <span class="pre">(Bob)'</span></tt> とクォートします。</p>
|
138
|
+
</div>
|
139
|
+
<div class="section" id="conditional-expression">
|
140
|
+
<span id="id1"></span><h2>8.8.1.3. 条件式<a class="headerlink" href="#conditional-expression" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
141
|
+
<p>以下は利用可能な条件式の一覧です。</p>
|
142
|
+
<div class="section" id="full-text-search-condition">
|
143
|
+
<span id="id2"></span><h3>8.8.1.3.1. 全文検索条件<a class="headerlink" href="#full-text-search-condition" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
144
|
+
<p>構文は <tt class="docutils literal"><span class="pre">keyword</span></tt> です。</p>
|
145
|
+
<p><tt class="docutils literal"><span class="pre">全文検索条件</span></tt> はデフォルトのマッチカラムに対して全文検索するという条件を指定します。マッチカラムとは全文検索対象のカラムのことです。</p>
|
146
|
+
<p>全文検索に使うデフォルトのマッチカラムを指定する必要があります。マッチカラムは <a class="reference internal" href="../commands/select.html"><em>select</em></a> の <tt class="docutils literal"><span class="pre">--match_columns</span></tt> オプションで指定します。デフォルトのマッチカラムを指定していない場合、この条件式は失敗します。</p>
|
147
|
+
<p>この条件式は <tt class="docutils literal"><span class="pre">keyword</span></tt> で全文検索をします。 <tt class="docutils literal"><span class="pre">keyword</span></tt> には空白を含めることはできません。 <tt class="docutils literal"><span class="pre">search</span> <span class="pre">keyword</span></tt> というように空白を含んでいる場合は、 <tt class="docutils literal"><span class="pre">search</span></tt> と <tt class="docutils literal"><span class="pre">keyword</span></tt> という2つの全文検索条件を指定したことになります。もし、キーワードに空白を含めたい場合は以下で説明する <tt class="docutils literal"><span class="pre">フレーズ検索条件</span></tt> を使ってください。</p>
|
148
|
+
<p>以下は簡単な使用例です。</p>
|
149
|
+
<p>実行例:</p>
|
150
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast
|
151
|
+
# [
|
152
|
+
# [
|
153
|
+
# 0,
|
154
|
+
# 1337566253.89858,
|
155
|
+
# 0.000355720520019531
|
156
|
+
# ],
|
157
|
+
# [
|
158
|
+
# [
|
159
|
+
# [
|
160
|
+
# 2
|
161
|
+
# ],
|
162
|
+
# [
|
163
|
+
# [
|
164
|
+
# "_id",
|
165
|
+
# "UInt32"
|
166
|
+
# ],
|
167
|
+
# [
|
168
|
+
# "_key",
|
169
|
+
# "ShortText"
|
170
|
+
# ],
|
171
|
+
# [
|
172
|
+
# "content",
|
173
|
+
# "Text"
|
174
|
+
# ],
|
175
|
+
# [
|
176
|
+
# "n_likes",
|
177
|
+
# "UInt32"
|
178
|
+
# ]
|
179
|
+
# ],
|
180
|
+
# [
|
181
|
+
# 2,
|
182
|
+
# "Groonga",
|
183
|
+
# "I started to use groonga. It's very fast!",
|
184
|
+
# 10
|
185
|
+
# ],
|
186
|
+
# [
|
187
|
+
# 3,
|
188
|
+
# "Mroonga",
|
189
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
190
|
+
# 15
|
191
|
+
# ]
|
192
|
+
# ]
|
193
|
+
# ]
|
194
|
+
# ]
|
195
|
+
</pre></div>
|
196
|
+
</div>
|
197
|
+
<p>この式は <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">fast</span></tt> という単語を含んでいるレコードにマッチします。</p>
|
198
|
+
<p><tt class="docutils literal"><span class="pre">content</span></tt> カラムはデフォルトのマッチカラムです。</p>
|
199
|
+
</div>
|
200
|
+
<div class="section" id="phrase-search-condition">
|
201
|
+
<span id="id3"></span><h3>8.8.1.3.2. フレーズ検索条件<a class="headerlink" href="#phrase-search-condition" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
202
|
+
<p>構文は <tt class="docutils literal"><span class="pre">"search</span> <span class="pre">keyword"</span></tt> です。</p>
|
203
|
+
<p><tt class="docutils literal"><span class="pre">フレーズ検索条件</span></tt> はデフォルトのマッチカラムに対してフレーズ検索するという条件を指定します。</p>
|
204
|
+
<p>全文検索に使うデフォルトのマッチカラムを指定する必要があります。マッチカラムは <a class="reference internal" href="../commands/select.html"><em>select</em></a> の <tt class="docutils literal"><span class="pre">--match_columns</span></tt> オプションで指定します。デフォルトのマッチカラムを指定していない場合、この条件式は失敗します。</p>
|
205
|
+
<p>この条件式は <tt class="docutils literal"><span class="pre">search</span> <span class="pre">keyword</span></tt> でフレーズ検索をします。フレーズ検索は <tt class="docutils literal"><span class="pre">search</span></tt> と <tt class="docutils literal"><span class="pre">keyword</span></tt> がこの順番で隣接して含まれているレコードにマッチします。つまり、 <tt class="docutils literal"><span class="pre">Put</span> <span class="pre">a</span> <span class="pre">search</span> <span class="pre">keyword</span> <span class="pre">in</span> <span class="pre">the</span> <span class="pre">form</span></tt> にはマッチしますが、 <tt class="docutils literal"><span class="pre">Search</span> <span class="pre">by</span> <span class="pre">the</span> <span class="pre">keyword</span></tt> や <tt class="docutils literal"><span class="pre">There</span> <span class="pre">is</span> <span class="pre">a</span> <span class="pre">keyword.</span> <span class="pre">Search</span> <span class="pre">by</span> <span class="pre">it!</span></tt> にはマッチしません。</p>
|
206
|
+
<p>以下は簡単な使用例です。</p>
|
207
|
+
<p>実行例:</p>
|
208
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query '"I started"'
|
209
|
+
# [
|
210
|
+
# [
|
211
|
+
# 0,
|
212
|
+
# 1337566253.89858,
|
213
|
+
# 0.000355720520019531
|
214
|
+
# ],
|
215
|
+
# [
|
216
|
+
# [
|
217
|
+
# [
|
218
|
+
# 1
|
219
|
+
# ],
|
220
|
+
# [
|
221
|
+
# [
|
222
|
+
# "_id",
|
223
|
+
# "UInt32"
|
224
|
+
# ],
|
225
|
+
# [
|
226
|
+
# "_key",
|
227
|
+
# "ShortText"
|
228
|
+
# ],
|
229
|
+
# [
|
230
|
+
# "content",
|
231
|
+
# "Text"
|
232
|
+
# ],
|
233
|
+
# [
|
234
|
+
# "n_likes",
|
235
|
+
# "UInt32"
|
236
|
+
# ]
|
237
|
+
# ],
|
238
|
+
# [
|
239
|
+
# 2,
|
240
|
+
# "Groonga",
|
241
|
+
# "I started to use groonga. It's very fast!",
|
242
|
+
# 10
|
243
|
+
# ]
|
244
|
+
# ]
|
245
|
+
# ]
|
246
|
+
# ]
|
247
|
+
</pre></div>
|
248
|
+
</div>
|
249
|
+
<p>この式は <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">I</span> <span class="pre">started</span></tt> というフレーズを含んでいるレコードにマッチします。 <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></tt> にはマッチしません。これは <tt class="docutils literal"><span class="pre">I</span></tt> と <tt class="docutils literal"><span class="pre">started</span></tt> が隣接していないからです。</p>
|
250
|
+
<p><tt class="docutils literal"><span class="pre">content</span></tt> カラムはデフォルトのマッチカラムです。</p>
|
251
|
+
</div>
|
252
|
+
<div class="section" id="full-text-search-condition-with-explicit-match-column">
|
253
|
+
<h3>8.8.1.3.3. 全文検索条件(マッチカラム指定あり)<a class="headerlink" href="#full-text-search-condition-with-explicit-match-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
254
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column:@keyword</span></tt> です。</p>
|
255
|
+
<p>これは <tt class="docutils literal"><span class="pre">全文検索条件</span></tt> と似ていますが、デフォルトのマッチカラムは必要ありません。全文検索用のマッチカラムは <a class="reference internal" href="../commands/select.html"><em>select</em></a> の <tt class="docutils literal"><span class="pre">--match_columns</span></tt> オプションではなく <tt class="docutils literal"><span class="pre">column:</span></tt> で指定します。</p>
|
256
|
+
<p>この条件式は異なったカラムに対して複数の全文検索をしたい場合に便利です。 <tt class="docutils literal"><span class="pre">--match_columns</span></tt> オプションで指定するデフォルトのマッチカラムは複数回指定することができません。2つめのマッチカラムを指定するためにはこの条件式を使う必要があります。</p>
|
257
|
+
<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> はサポートしていません。高度なマッチカラムには以下の機能があります:</p>
|
258
|
+
<blockquote>
|
259
|
+
<div><ul class="simple">
|
260
|
+
<li>重みをサポートしている。</li>
|
261
|
+
<li>複数のカラムを指定できる。</li>
|
262
|
+
<li>マッチカラムとしてインデックスカラムを使える。</li>
|
263
|
+
</ul>
|
264
|
+
</div></blockquote>
|
265
|
+
<p>これらについては <a class="reference internal" href="../commands/select.html"><em>select</em></a> の <tt class="docutils literal"><span class="pre">--match_columns</span></tt> オプションを参照してください。</p>
|
266
|
+
<p>以下は簡単な使用例です。</p>
|
267
|
+
<p>実行例:</p>
|
268
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query content:@fast
|
269
|
+
# [
|
270
|
+
# [
|
271
|
+
# 0,
|
272
|
+
# 1337566253.89858,
|
273
|
+
# 0.000355720520019531
|
274
|
+
# ],
|
275
|
+
# [
|
276
|
+
# [
|
277
|
+
# [
|
278
|
+
# 2
|
279
|
+
# ],
|
280
|
+
# [
|
281
|
+
# [
|
282
|
+
# "_id",
|
283
|
+
# "UInt32"
|
284
|
+
# ],
|
285
|
+
# [
|
286
|
+
# "_key",
|
287
|
+
# "ShortText"
|
288
|
+
# ],
|
289
|
+
# [
|
290
|
+
# "content",
|
291
|
+
# "Text"
|
292
|
+
# ],
|
293
|
+
# [
|
294
|
+
# "n_likes",
|
295
|
+
# "UInt32"
|
296
|
+
# ]
|
297
|
+
# ],
|
298
|
+
# [
|
299
|
+
# 2,
|
300
|
+
# "Groonga",
|
301
|
+
# "I started to use groonga. It's very fast!",
|
302
|
+
# 10
|
303
|
+
# ],
|
304
|
+
# [
|
305
|
+
# 3,
|
306
|
+
# "Mroonga",
|
307
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
308
|
+
# 15
|
309
|
+
# ]
|
310
|
+
# ]
|
311
|
+
# ]
|
312
|
+
# ]
|
313
|
+
</pre></div>
|
314
|
+
</div>
|
315
|
+
<p>この式は <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">fast</span></tt> という単語を含んでいるレコードにマッチします。</p>
|
316
|
+
</div>
|
317
|
+
<div class="section" id="phrase-search-condition-with-explicit-match-column">
|
318
|
+
<h3>8.8.1.3.4. フレーズ検索条件(マッチカラム指定あり)<a class="headerlink" href="#phrase-search-condition-with-explicit-match-column" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
319
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column:@"search</span> <span class="pre">keyword"</span></tt> です。</p>
|
320
|
+
<p>これは <tt class="docutils literal"><span class="pre">フレーズ検索条件</span></tt> に似ていますが、デフォルトのマッチカラムは必要ありません。フレーズ検索用のマッチカラムは <a class="reference internal" href="../commands/select.html"><em>select</em></a> の <tt class="docutils literal"><span class="pre">--match_columns</span></tt> オプションではなく <tt class="docutils literal"><span class="pre">column:</span></tt> で指定します。</p>
|
321
|
+
<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">フレーズ検索条件</span></tt> は高度なマッチカラムをサポートしていますが、 <tt class="docutils literal"><span class="pre">フレーズ検索条件(マッチカラム指定あり)</span></tt> はサポートしていません。高度なマッチカラムについては <tt class="docutils literal"><span class="pre">全文検索条件(マッチカラム指定あり)</span></tt> を参照してください。</p>
|
322
|
+
<p>以下は簡単な使用例です。</p>
|
323
|
+
<p>実行例:</p>
|
324
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'content:@"I started"'
|
325
|
+
# [
|
326
|
+
# [
|
327
|
+
# 0,
|
328
|
+
# 1337566253.89858,
|
329
|
+
# 0.000355720520019531
|
330
|
+
# ],
|
331
|
+
# [
|
332
|
+
# [
|
333
|
+
# [
|
334
|
+
# 1
|
335
|
+
# ],
|
336
|
+
# [
|
337
|
+
# [
|
338
|
+
# "_id",
|
339
|
+
# "UInt32"
|
340
|
+
# ],
|
341
|
+
# [
|
342
|
+
# "_key",
|
343
|
+
# "ShortText"
|
344
|
+
# ],
|
345
|
+
# [
|
346
|
+
# "content",
|
347
|
+
# "Text"
|
348
|
+
# ],
|
349
|
+
# [
|
350
|
+
# "n_likes",
|
351
|
+
# "UInt32"
|
352
|
+
# ]
|
353
|
+
# ],
|
354
|
+
# [
|
355
|
+
# 2,
|
356
|
+
# "Groonga",
|
357
|
+
# "I started to use groonga. It's very fast!",
|
358
|
+
# 10
|
359
|
+
# ]
|
360
|
+
# ]
|
361
|
+
# ]
|
362
|
+
# ]
|
363
|
+
</pre></div>
|
364
|
+
</div>
|
365
|
+
<p>この式は <tt class="docutils literal"><span class="pre">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">I</span> <span class="pre">started</span></tt> というフレーズを含んでいるレコードにマッチします。 <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></tt> にはマッチしません。これは <tt class="docutils literal"><span class="pre">I</span></tt> と <tt class="docutils literal"><span class="pre">started</span></tt> が隣接していないからです。</p>
|
366
|
+
</div>
|
367
|
+
<div class="section" id="prefix-search-condition">
|
368
|
+
<span id="id4"></span><h3>8.8.1.3.5. 前方一致検索条件<a class="headerlink" href="#prefix-search-condition" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
369
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column:^value</span></tt> または <tt class="docutils literal"><span class="pre">value*</span></tt> です。</p>
|
370
|
+
<p>この条件式は <tt class="docutils literal"><span class="pre">value</span></tt> で前方一致検索をします。前方一致検索は <tt class="docutils literal"><span class="pre">value</span></tt> で始まる単語を含むレコードを検索します。</p>
|
371
|
+
<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>
|
372
|
+
<p>他の種類のテーブルでも前方一致検索を使えますがレコード全件を処理します。レコード数が少ない場合には問題ありませんが、レコード数が多いと時間がかかります。</p>
|
373
|
+
<p><tt class="docutils literal"><span class="pre">全文検索条件</span></tt> や <tt class="docutils literal"><span class="pre">フレーズ検索条件</span></tt> と異なり、デフォルトのマッチカラムは必要ありません。</p>
|
374
|
+
<p>以下は簡単な使用例です。</p>
|
375
|
+
<p>実行例:</p>
|
376
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query '_key:^Goo'
|
377
|
+
# [
|
378
|
+
# [
|
379
|
+
# 0,
|
380
|
+
# 1337566253.89858,
|
381
|
+
# 0.000355720520019531
|
382
|
+
# ],
|
383
|
+
# [
|
384
|
+
# [
|
385
|
+
# [
|
386
|
+
# 2
|
387
|
+
# ],
|
388
|
+
# [
|
389
|
+
# [
|
390
|
+
# "_id",
|
391
|
+
# "UInt32"
|
392
|
+
# ],
|
393
|
+
# [
|
394
|
+
# "_key",
|
395
|
+
# "ShortText"
|
396
|
+
# ],
|
397
|
+
# [
|
398
|
+
# "content",
|
399
|
+
# "Text"
|
400
|
+
# ],
|
401
|
+
# [
|
402
|
+
# "n_likes",
|
403
|
+
# "UInt32"
|
404
|
+
# ]
|
405
|
+
# ],
|
406
|
+
# [
|
407
|
+
# 5,
|
408
|
+
# "Good-bye Tritonn",
|
409
|
+
# "I also migrated all Tritonn system!",
|
410
|
+
# 3
|
411
|
+
# ],
|
412
|
+
# [
|
413
|
+
# 4,
|
414
|
+
# "Good-bye Senna",
|
415
|
+
# "I migrated all Senna system!",
|
416
|
+
# 3
|
417
|
+
# ]
|
418
|
+
# ]
|
419
|
+
# ]
|
420
|
+
# ]
|
421
|
+
</pre></div>
|
422
|
+
</div>
|
423
|
+
<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>
|
424
|
+
</div>
|
425
|
+
<div class="section" id="suffix-search-condition">
|
426
|
+
<span id="id5"></span><h3>8.8.1.3.6. 後方一致検索条件<a class="headerlink" href="#suffix-search-condition" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
427
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column:$value</span></tt> です。</p>
|
428
|
+
<p>この条件式は <tt class="docutils literal"><span class="pre">value</span></tt> で後方一致検索します。後方一致検索は <tt class="docutils literal"><span class="pre">value</span></tt> で終わる単語を含むレコードを検索します。</p>
|
429
|
+
<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>
|
430
|
+
<div class="admonition note">
|
431
|
+
<p class="first admonition-title">ノート</p>
|
432
|
+
<p class="last">高速な後方一致検索は日本語のひらがななど非ASCII文字にしか使えません。ASCII文字には高速な後方一致検索を使えません。</p>
|
433
|
+
</div>
|
434
|
+
<p>後方一致検索は他の種類のテーブルもしくはパトリシアトライを <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> フラグなしで使用しているテーブルに対しても使えますが、レコード全件を処理します。レコード数が少ない場合には問題ありませんが、レコード数が多いと時間がかかります。</p>
|
435
|
+
<p><tt class="docutils literal"><span class="pre">全文検索条件</span></tt> や <tt class="docutils literal"><span class="pre">フレーズ検索条件</span></tt> と異なり、デフォルトのマッチカラムは必要ありません。</p>
|
436
|
+
<p>簡単な例です。ASCII文字ではない文字である日本語のひらがなに対して高速な後方一致検索をしています。</p>
|
437
|
+
<p>実行例:</p>
|
438
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Titles TABLE_NO_KEY
|
439
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
440
|
+
column_create Titles content COLUMN_SCALAR ShortText
|
441
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
442
|
+
table_create SuffixSearchTerms TABLE_PAT_KEY|KEY_WITH_SIS ShortText
|
443
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
444
|
+
column_create SuffixSearchTerms index COLUMN_INDEX Titles content
|
445
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
446
|
+
load --table Titles
|
447
|
+
[
|
448
|
+
{"content": "ぐるんが"},
|
449
|
+
{"content": "むるんが"},
|
450
|
+
{"content": "せな"},
|
451
|
+
{"content": "とりとん"}
|
452
|
+
]
|
453
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 4]
|
454
|
+
select Titles --query 'content:$んが'
|
455
|
+
# [
|
456
|
+
# [
|
457
|
+
# 0,
|
458
|
+
# 1337566253.89858,
|
459
|
+
# 0.000355720520019531
|
460
|
+
# ],
|
461
|
+
# [
|
462
|
+
# [
|
463
|
+
# [
|
464
|
+
# 2
|
465
|
+
# ],
|
466
|
+
# [
|
467
|
+
# [
|
468
|
+
# "_id",
|
469
|
+
# "UInt32"
|
470
|
+
# ],
|
471
|
+
# [
|
472
|
+
# "content",
|
473
|
+
# "ShortText"
|
474
|
+
# ]
|
475
|
+
# ],
|
476
|
+
# [
|
477
|
+
# 2,
|
478
|
+
# "むるんが"
|
479
|
+
# ],
|
480
|
+
# [
|
481
|
+
# 1,
|
482
|
+
# "ぐるんが"
|
483
|
+
# ]
|
484
|
+
# ]
|
485
|
+
# ]
|
486
|
+
# ]
|
487
|
+
</pre></div>
|
488
|
+
</div>
|
489
|
+
<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>
|
490
|
+
</div>
|
491
|
+
<div class="section" id="equal-condition">
|
492
|
+
<h3>8.8.1.3.7. 等価条件<a class="headerlink" href="#equal-condition" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
493
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column:value</span></tt> です。</p>
|
494
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> の値が <tt class="docutils literal"><span class="pre">value</span></tt> と等しいレコードにマッチします。</p>
|
495
|
+
<p><tt class="docutils literal"><span class="pre">全文検索条件</span></tt> や <tt class="docutils literal"><span class="pre">フレーズ検索条件</span></tt> と異なり、デフォルトのマッチカラムは必要ありません。</p>
|
496
|
+
<p>以下は簡単な使用例です。</p>
|
497
|
+
<p>実行例:</p>
|
498
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query _key:Groonga
|
499
|
+
# [
|
500
|
+
# [
|
501
|
+
# 0,
|
502
|
+
# 1337566253.89858,
|
503
|
+
# 0.000355720520019531
|
504
|
+
# ],
|
505
|
+
# [
|
506
|
+
# [
|
507
|
+
# [
|
508
|
+
# 1
|
509
|
+
# ],
|
510
|
+
# [
|
511
|
+
# [
|
512
|
+
# "_id",
|
513
|
+
# "UInt32"
|
514
|
+
# ],
|
515
|
+
# [
|
516
|
+
# "_key",
|
517
|
+
# "ShortText"
|
518
|
+
# ],
|
519
|
+
# [
|
520
|
+
# "content",
|
521
|
+
# "Text"
|
522
|
+
# ],
|
523
|
+
# [
|
524
|
+
# "n_likes",
|
525
|
+
# "UInt32"
|
526
|
+
# ]
|
527
|
+
# ],
|
528
|
+
# [
|
529
|
+
# 2,
|
530
|
+
# "Groonga",
|
531
|
+
# "I started to use groonga. It's very fast!",
|
532
|
+
# 10
|
533
|
+
# ]
|
534
|
+
# ]
|
535
|
+
# ]
|
536
|
+
# ]
|
537
|
+
</pre></div>
|
538
|
+
</div>
|
539
|
+
<p>この式は <tt class="docutils literal"><span class="pre">_key</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">Groonga</span></tt> のレコードにマッチします。</p>
|
540
|
+
</div>
|
541
|
+
<div class="section" id="not-equal-condition">
|
542
|
+
<h3>8.8.1.3.8. 不等価条件<a class="headerlink" href="#not-equal-condition" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
543
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column:!value</span></tt> です。</p>
|
544
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> の値が <tt class="docutils literal"><span class="pre">value</span></tt> と等しくないレコードにマッチします。</p>
|
545
|
+
<p><tt class="docutils literal"><span class="pre">全文検索条件</span></tt> や <tt class="docutils literal"><span class="pre">フレーズ検索条件</span></tt> と異なり、デフォルトのマッチカラムは必要ありません。</p>
|
546
|
+
<p>以下は簡単な使用例です。</p>
|
547
|
+
<p>実行例:</p>
|
548
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query _key:!Groonga
|
549
|
+
# [
|
550
|
+
# [
|
551
|
+
# 0,
|
552
|
+
# 1337566253.89858,
|
553
|
+
# 0.000355720520019531
|
554
|
+
# ],
|
555
|
+
# [
|
556
|
+
# [
|
557
|
+
# [
|
558
|
+
# 4
|
559
|
+
# ],
|
560
|
+
# [
|
561
|
+
# [
|
562
|
+
# "_id",
|
563
|
+
# "UInt32"
|
564
|
+
# ],
|
565
|
+
# [
|
566
|
+
# "_key",
|
567
|
+
# "ShortText"
|
568
|
+
# ],
|
569
|
+
# [
|
570
|
+
# "content",
|
571
|
+
# "Text"
|
572
|
+
# ],
|
573
|
+
# [
|
574
|
+
# "n_likes",
|
575
|
+
# "UInt32"
|
576
|
+
# ]
|
577
|
+
# ],
|
578
|
+
# [
|
579
|
+
# 4,
|
580
|
+
# "Good-bye Senna",
|
581
|
+
# "I migrated all Senna system!",
|
582
|
+
# 3
|
583
|
+
# ],
|
584
|
+
# [
|
585
|
+
# 5,
|
586
|
+
# "Good-bye Tritonn",
|
587
|
+
# "I also migrated all Tritonn system!",
|
588
|
+
# 3
|
589
|
+
# ],
|
590
|
+
# [
|
591
|
+
# 3,
|
592
|
+
# "Mroonga",
|
593
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
594
|
+
# 15
|
595
|
+
# ],
|
596
|
+
# [
|
597
|
+
# 1,
|
598
|
+
# "The first post!",
|
599
|
+
# "Welcome! This is my first post!",
|
600
|
+
# 5
|
601
|
+
# ]
|
602
|
+
# ]
|
603
|
+
# ]
|
604
|
+
# ]
|
605
|
+
</pre></div>
|
606
|
+
</div>
|
607
|
+
<p>この式は <tt class="docutils literal"><span class="pre">_key</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">Groonga</span></tt> ではないレコードにマッチします。</p>
|
608
|
+
</div>
|
609
|
+
<div class="section" id="less-than-condition">
|
610
|
+
<h3>8.8.1.3.9. 小なり条件<a class="headerlink" href="#less-than-condition" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
611
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column:<value</span></tt> です。</p>
|
612
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> の値が <tt class="docutils literal"><span class="pre">value</span></tt> 未満のレコードにマッチします。</p>
|
613
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> の型が <tt class="docutils literal"><span class="pre">Int32</span></tt> などの数値型の場合、 <tt class="docutils literal"><span class="pre">column</span></tt> の値と <tt class="docutils literal"><span class="pre">value</span></tt> は数値として比較します。もし、 <tt class="docutils literal"><span class="pre">column</span></tt> の型が <tt class="docutils literal"><span class="pre">ShortText</span></tt> のような文字列型の場合は <tt class="docutils literal"><span class="pre">column</span></tt> の値と <tt class="docutils literal"><span class="pre">value</span></tt> はビット列として比較します。</p>
|
614
|
+
<p><tt class="docutils literal"><span class="pre">全文検索条件</span></tt> や <tt class="docutils literal"><span class="pre">フレーズ検索条件</span></tt> と異なり、デフォルトのマッチカラムは必要ありません。</p>
|
615
|
+
<p>以下は簡単な使用例です。</p>
|
616
|
+
<p>実行例:</p>
|
617
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:<10
|
618
|
+
# [
|
619
|
+
# [
|
620
|
+
# 0,
|
621
|
+
# 1337566253.89858,
|
622
|
+
# 0.000355720520019531
|
623
|
+
# ],
|
624
|
+
# [
|
625
|
+
# [
|
626
|
+
# [
|
627
|
+
# 3
|
628
|
+
# ],
|
629
|
+
# [
|
630
|
+
# [
|
631
|
+
# "_id",
|
632
|
+
# "UInt32"
|
633
|
+
# ],
|
634
|
+
# [
|
635
|
+
# "_key",
|
636
|
+
# "ShortText"
|
637
|
+
# ],
|
638
|
+
# [
|
639
|
+
# "content",
|
640
|
+
# "Text"
|
641
|
+
# ],
|
642
|
+
# [
|
643
|
+
# "n_likes",
|
644
|
+
# "UInt32"
|
645
|
+
# ]
|
646
|
+
# ],
|
647
|
+
# [
|
648
|
+
# 4,
|
649
|
+
# "Good-bye Senna",
|
650
|
+
# "I migrated all Senna system!",
|
651
|
+
# 3
|
652
|
+
# ],
|
653
|
+
# [
|
654
|
+
# 5,
|
655
|
+
# "Good-bye Tritonn",
|
656
|
+
# "I also migrated all Tritonn system!",
|
657
|
+
# 3
|
658
|
+
# ],
|
659
|
+
# [
|
660
|
+
# 1,
|
661
|
+
# "The first post!",
|
662
|
+
# "Welcome! This is my first post!",
|
663
|
+
# 5
|
664
|
+
# ]
|
665
|
+
# ]
|
666
|
+
# ]
|
667
|
+
# ]
|
668
|
+
</pre></div>
|
669
|
+
</div>
|
670
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">10</span></tt> より小さいレコードにマッチします。</p>
|
671
|
+
</div>
|
672
|
+
<div class="section" id="greater-than-condition">
|
673
|
+
<h3>8.8.1.3.10. 大なり条件<a class="headerlink" href="#greater-than-condition" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
674
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column:>value</span></tt> です。</p>
|
675
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> の値が <tt class="docutils literal"><span class="pre">value</span></tt> より大きいレコードにマッチします。</p>
|
676
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> の型が <tt class="docutils literal"><span class="pre">Int32</span></tt> などの数値型の場合、 <tt class="docutils literal"><span class="pre">column</span></tt> の値と <tt class="docutils literal"><span class="pre">value</span></tt> は数値として比較します。もし、 <tt class="docutils literal"><span class="pre">column</span></tt> の型が <tt class="docutils literal"><span class="pre">ShortText</span></tt> のような文字列型の場合は <tt class="docutils literal"><span class="pre">column</span></tt> の値と <tt class="docutils literal"><span class="pre">value</span></tt> はビット列として比較します。</p>
|
677
|
+
<p><tt class="docutils literal"><span class="pre">全文検索条件</span></tt> や <tt class="docutils literal"><span class="pre">フレーズ検索条件</span></tt> と異なり、デフォルトのマッチカラムは必要ありません。</p>
|
678
|
+
<p>以下は簡単な使用例です。</p>
|
679
|
+
<p>実行例:</p>
|
680
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:>10
|
681
|
+
# [
|
682
|
+
# [
|
683
|
+
# 0,
|
684
|
+
# 1337566253.89858,
|
685
|
+
# 0.000355720520019531
|
686
|
+
# ],
|
687
|
+
# [
|
688
|
+
# [
|
689
|
+
# [
|
690
|
+
# 1
|
691
|
+
# ],
|
692
|
+
# [
|
693
|
+
# [
|
694
|
+
# "_id",
|
695
|
+
# "UInt32"
|
696
|
+
# ],
|
697
|
+
# [
|
698
|
+
# "_key",
|
699
|
+
# "ShortText"
|
700
|
+
# ],
|
701
|
+
# [
|
702
|
+
# "content",
|
703
|
+
# "Text"
|
704
|
+
# ],
|
705
|
+
# [
|
706
|
+
# "n_likes",
|
707
|
+
# "UInt32"
|
708
|
+
# ]
|
709
|
+
# ],
|
710
|
+
# [
|
711
|
+
# 3,
|
712
|
+
# "Mroonga",
|
713
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
714
|
+
# 15
|
715
|
+
# ]
|
716
|
+
# ]
|
717
|
+
# ]
|
718
|
+
# ]
|
719
|
+
</pre></div>
|
720
|
+
</div>
|
721
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">10</span></tt> より大きいレコードにマッチします。</p>
|
722
|
+
</div>
|
723
|
+
<div class="section" id="less-than-or-equal-to-condition">
|
724
|
+
<h3>8.8.1.3.11. 以下条件<a class="headerlink" href="#less-than-or-equal-to-condition" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
725
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column:<=value</span></tt> です。</p>
|
726
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> の値が <tt class="docutils literal"><span class="pre">value</span></tt> 以下のレコードにマッチします。</p>
|
727
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> の型が <tt class="docutils literal"><span class="pre">Int32</span></tt> などの数値型の場合、 <tt class="docutils literal"><span class="pre">column</span></tt> の値と <tt class="docutils literal"><span class="pre">value</span></tt> は数値として比較します。もし、 <tt class="docutils literal"><span class="pre">column</span></tt> の型が <tt class="docutils literal"><span class="pre">ShortText</span></tt> のような文字列型の場合は <tt class="docutils literal"><span class="pre">column</span></tt> の値と <tt class="docutils literal"><span class="pre">value</span></tt> はビット列として比較します。</p>
|
728
|
+
<p><tt class="docutils literal"><span class="pre">全文検索条件</span></tt> や <tt class="docutils literal"><span class="pre">フレーズ検索条件</span></tt> と異なり、デフォルトのマッチカラムは必要ありません。</p>
|
729
|
+
<p>以下は簡単な使用例です。</p>
|
730
|
+
<p>実行例:</p>
|
731
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:<=10
|
732
|
+
# [
|
733
|
+
# [
|
734
|
+
# 0,
|
735
|
+
# 1337566253.89858,
|
736
|
+
# 0.000355720520019531
|
737
|
+
# ],
|
738
|
+
# [
|
739
|
+
# [
|
740
|
+
# [
|
741
|
+
# 4
|
742
|
+
# ],
|
743
|
+
# [
|
744
|
+
# [
|
745
|
+
# "_id",
|
746
|
+
# "UInt32"
|
747
|
+
# ],
|
748
|
+
# [
|
749
|
+
# "_key",
|
750
|
+
# "ShortText"
|
751
|
+
# ],
|
752
|
+
# [
|
753
|
+
# "content",
|
754
|
+
# "Text"
|
755
|
+
# ],
|
756
|
+
# [
|
757
|
+
# "n_likes",
|
758
|
+
# "UInt32"
|
759
|
+
# ]
|
760
|
+
# ],
|
761
|
+
# [
|
762
|
+
# 4,
|
763
|
+
# "Good-bye Senna",
|
764
|
+
# "I migrated all Senna system!",
|
765
|
+
# 3
|
766
|
+
# ],
|
767
|
+
# [
|
768
|
+
# 5,
|
769
|
+
# "Good-bye Tritonn",
|
770
|
+
# "I also migrated all Tritonn system!",
|
771
|
+
# 3
|
772
|
+
# ],
|
773
|
+
# [
|
774
|
+
# 2,
|
775
|
+
# "Groonga",
|
776
|
+
# "I started to use groonga. It's very fast!",
|
777
|
+
# 10
|
778
|
+
# ],
|
779
|
+
# [
|
780
|
+
# 1,
|
781
|
+
# "The first post!",
|
782
|
+
# "Welcome! This is my first post!",
|
783
|
+
# 5
|
784
|
+
# ]
|
785
|
+
# ]
|
786
|
+
# ]
|
787
|
+
# ]
|
788
|
+
</pre></div>
|
789
|
+
</div>
|
790
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">10</span></tt> 以下のレコードにマッチします。</p>
|
791
|
+
</div>
|
792
|
+
<div class="section" id="greater-than-or-equal-to-condition">
|
793
|
+
<h3>8.8.1.3.12. 以上条件<a class="headerlink" href="#greater-than-or-equal-to-condition" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
794
|
+
<p>構文は <tt class="docutils literal"><span class="pre">column:>=value</span></tt> です。</p>
|
795
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> の値が <tt class="docutils literal"><span class="pre">value</span></tt> 以上のレコードにマッチします。</p>
|
796
|
+
<p><tt class="docutils literal"><span class="pre">column</span></tt> の型が <tt class="docutils literal"><span class="pre">Int32</span></tt> などの数値型の場合、 <tt class="docutils literal"><span class="pre">column</span></tt> の値と <tt class="docutils literal"><span class="pre">value</span></tt> は数値として比較します。もし、 <tt class="docutils literal"><span class="pre">column</span></tt> の型が <tt class="docutils literal"><span class="pre">ShortText</span></tt> のような文字列型の場合は <tt class="docutils literal"><span class="pre">column</span></tt> の値と <tt class="docutils literal"><span class="pre">value</span></tt> はビット列として比較します。</p>
|
797
|
+
<p><tt class="docutils literal"><span class="pre">全文検索条件</span></tt> や <tt class="docutils literal"><span class="pre">フレーズ検索条件</span></tt> と異なり、デフォルトのマッチカラムは必要ありません。</p>
|
798
|
+
<p>以下は簡単な使用例です。</p>
|
799
|
+
<p>実行例:</p>
|
800
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:>=10
|
801
|
+
# [
|
802
|
+
# [
|
803
|
+
# 0,
|
804
|
+
# 1337566253.89858,
|
805
|
+
# 0.000355720520019531
|
806
|
+
# ],
|
807
|
+
# [
|
808
|
+
# [
|
809
|
+
# [
|
810
|
+
# 2
|
811
|
+
# ],
|
812
|
+
# [
|
813
|
+
# [
|
814
|
+
# "_id",
|
815
|
+
# "UInt32"
|
816
|
+
# ],
|
817
|
+
# [
|
818
|
+
# "_key",
|
819
|
+
# "ShortText"
|
820
|
+
# ],
|
821
|
+
# [
|
822
|
+
# "content",
|
823
|
+
# "Text"
|
824
|
+
# ],
|
825
|
+
# [
|
826
|
+
# "n_likes",
|
827
|
+
# "UInt32"
|
828
|
+
# ]
|
829
|
+
# ],
|
830
|
+
# [
|
831
|
+
# 2,
|
832
|
+
# "Groonga",
|
833
|
+
# "I started to use groonga. It's very fast!",
|
834
|
+
# 10
|
835
|
+
# ],
|
836
|
+
# [
|
837
|
+
# 3,
|
838
|
+
# "Mroonga",
|
839
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
840
|
+
# 15
|
841
|
+
# ]
|
842
|
+
# ]
|
843
|
+
# ]
|
844
|
+
# ]
|
845
|
+
</pre></div>
|
846
|
+
</div>
|
847
|
+
<p>この式は <tt class="docutils literal"><span class="pre">n_likes</span></tt> カラムの値が <tt class="docutils literal"><span class="pre">10</span></tt> 以上のレコードにマッチします。</p>
|
848
|
+
</div>
|
849
|
+
</div>
|
850
|
+
<div class="section" id="combined-expression">
|
851
|
+
<span id="id6"></span><h2>8.8.1.4. 結合式<a class="headerlink" href="#combined-expression" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
852
|
+
<p>以下は利用可能な結合式のリストです。</p>
|
853
|
+
<div class="section" id="logical-or">
|
854
|
+
<h3>8.8.1.4.1. 論理和<a class="headerlink" href="#logical-or" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
855
|
+
<p>構文は <tt class="docutils literal"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></tt> です。</p>
|
856
|
+
<p><tt class="docutils literal"><span class="pre">a</span></tt> と <tt class="docutils literal"><span class="pre">b</span></tt> は条件式または結合式または代入式です。</p>
|
857
|
+
<p><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">a</span> <span class="pre">OR</span> <span class="pre">b</span></tt> はマッチします。</p>
|
858
|
+
<p>以下は簡単な使用例です。</p>
|
859
|
+
<p>実行例:</p>
|
860
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:>10 OR content:@senna'
|
861
|
+
# [
|
862
|
+
# [
|
863
|
+
# 0,
|
864
|
+
# 1337566253.89858,
|
865
|
+
# 0.000355720520019531
|
866
|
+
# ],
|
867
|
+
# [
|
868
|
+
# [
|
869
|
+
# [
|
870
|
+
# 2
|
871
|
+
# ],
|
872
|
+
# [
|
873
|
+
# [
|
874
|
+
# "_id",
|
875
|
+
# "UInt32"
|
876
|
+
# ],
|
877
|
+
# [
|
878
|
+
# "_key",
|
879
|
+
# "ShortText"
|
880
|
+
# ],
|
881
|
+
# [
|
882
|
+
# "content",
|
883
|
+
# "Text"
|
884
|
+
# ],
|
885
|
+
# [
|
886
|
+
# "n_likes",
|
887
|
+
# "UInt32"
|
888
|
+
# ]
|
889
|
+
# ],
|
890
|
+
# [
|
891
|
+
# 3,
|
892
|
+
# "Mroonga",
|
893
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
894
|
+
# 15
|
895
|
+
# ],
|
896
|
+
# [
|
897
|
+
# 4,
|
898
|
+
# "Good-bye Senna",
|
899
|
+
# "I migrated all Senna system!",
|
900
|
+
# 3
|
901
|
+
# ]
|
902
|
+
# ]
|
903
|
+
# ]
|
904
|
+
# ]
|
905
|
+
</pre></div>
|
906
|
+
</div>
|
907
|
+
<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">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">senna</span></tt> という単語を含んでいるレコードにマッチします。</p>
|
908
|
+
</div>
|
909
|
+
<div class="section" id="logical-and">
|
910
|
+
<h3>8.8.1.4.2. 論理積<a class="headerlink" href="#logical-and" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
911
|
+
<p>構文は <tt class="docutils literal"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></tt> です。あるいは単に <tt class="docutils literal"><span class="pre">a</span> <span class="pre">b</span></tt> と書くこともできます。</p>
|
912
|
+
<p><tt class="docutils literal"><span class="pre">a</span></tt> と <tt class="docutils literal"><span class="pre">b</span></tt> は条件式または結合式または代入式です。</p>
|
913
|
+
<p><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">a</span> <span class="pre">+</span> <span class="pre">b</span></tt> はマッチします。</p>
|
914
|
+
<p><tt class="docutils literal"><span class="pre">+a</span></tt> というように最初の式に <tt class="docutils literal"><span class="pre">+</span></tt> を指定することもできます。この場合は <tt class="docutils literal"><span class="pre">+</span></tt> は単に無視されます。</p>
|
915
|
+
<p>以下は簡単な使用例です。</p>
|
916
|
+
<p>実行例:</p>
|
917
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:>=10 + content:@groonga'
|
918
|
+
# [
|
919
|
+
# [
|
920
|
+
# 0,
|
921
|
+
# 1337566253.89858,
|
922
|
+
# 0.000355720520019531
|
923
|
+
# ],
|
924
|
+
# [
|
925
|
+
# [
|
926
|
+
# [
|
927
|
+
# 1
|
928
|
+
# ],
|
929
|
+
# [
|
930
|
+
# [
|
931
|
+
# "_id",
|
932
|
+
# "UInt32"
|
933
|
+
# ],
|
934
|
+
# [
|
935
|
+
# "_key",
|
936
|
+
# "ShortText"
|
937
|
+
# ],
|
938
|
+
# [
|
939
|
+
# "content",
|
940
|
+
# "Text"
|
941
|
+
# ],
|
942
|
+
# [
|
943
|
+
# "n_likes",
|
944
|
+
# "UInt32"
|
945
|
+
# ]
|
946
|
+
# ],
|
947
|
+
# [
|
948
|
+
# 2,
|
949
|
+
# "Groonga",
|
950
|
+
# "I started to use groonga. It's very fast!",
|
951
|
+
# 10
|
952
|
+
# ]
|
953
|
+
# ]
|
954
|
+
# ]
|
955
|
+
# ]
|
956
|
+
</pre></div>
|
957
|
+
</div>
|
958
|
+
<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">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">groonga</span></tt> という単語を含むレコードにマッチします。</p>
|
959
|
+
</div>
|
960
|
+
<div class="section" id="logical-not">
|
961
|
+
<h3>8.8.1.4.3. 論理否定<a class="headerlink" href="#logical-not" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
962
|
+
<p>構文は <tt class="docutils literal"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></tt> です。</p>
|
963
|
+
<p><tt class="docutils literal"><span class="pre">a</span></tt> と <tt class="docutils literal"><span class="pre">b</span></tt> は条件式または結合式または代入式です。</p>
|
964
|
+
<p><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">a</span> <span class="pre">-</span> <span class="pre">b</span></tt> はマッチします。</p>
|
965
|
+
<p><tt class="docutils literal"><span class="pre">-a</span></tt> というように最初の式に <tt class="docutils literal"><span class="pre">-</span></tt> を指定することはできません。この場合は構文エラーになります。</p>
|
966
|
+
<p>以下は簡単な使用例です。</p>
|
967
|
+
<p>実行例:</p>
|
968
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:>=10 - content:@groonga'
|
969
|
+
# [
|
970
|
+
# [
|
971
|
+
# 0,
|
972
|
+
# 1337566253.89858,
|
973
|
+
# 0.000355720520019531
|
974
|
+
# ],
|
975
|
+
# [
|
976
|
+
# [
|
977
|
+
# [
|
978
|
+
# 1
|
979
|
+
# ],
|
980
|
+
# [
|
981
|
+
# [
|
982
|
+
# "_id",
|
983
|
+
# "UInt32"
|
984
|
+
# ],
|
985
|
+
# [
|
986
|
+
# "_key",
|
987
|
+
# "ShortText"
|
988
|
+
# ],
|
989
|
+
# [
|
990
|
+
# "content",
|
991
|
+
# "Text"
|
992
|
+
# ],
|
993
|
+
# [
|
994
|
+
# "n_likes",
|
995
|
+
# "UInt32"
|
996
|
+
# ]
|
997
|
+
# ],
|
998
|
+
# [
|
999
|
+
# 3,
|
1000
|
+
# "Mroonga",
|
1001
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
1002
|
+
# 15
|
1003
|
+
# ]
|
1004
|
+
# ]
|
1005
|
+
# ]
|
1006
|
+
# ]
|
1007
|
+
</pre></div>
|
1008
|
+
</div>
|
1009
|
+
<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">content</span></tt> カラムの値に <tt class="docutils literal"><span class="pre">groonga</span></tt> という単語を含まないレコードにマッチします。</p>
|
1010
|
+
</div>
|
1011
|
+
<div class="section" id="grouping">
|
1012
|
+
<h3>8.8.1.4.4. グループ化<a class="headerlink" href="#grouping" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
1013
|
+
<p>構文は <tt class="docutils literal"><span class="pre">(...)</span></tt> です。 <tt class="docutils literal"><span class="pre">...</span></tt> は空白区切りの式のリストです。</p>
|
1014
|
+
<p><tt class="docutils literal"><span class="pre">(...)</span></tt> は1つ以上の式をグループ化します。グループ化された式は1つの式として処理されます。 <tt class="docutils literal"><span class="pre">a</span> <span class="pre">b</span> <span class="pre">OR</span> <span class="pre">c</span></tt> は <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">(b</span> <span class="pre">OR</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>
|
1015
|
+
<p>以下は簡単な使用例です。</p>
|
1016
|
+
<p>実行例:</p>
|
1017
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:<5 content:@senna OR content:@fast'
|
1018
|
+
# [
|
1019
|
+
# [
|
1020
|
+
# 0,
|
1021
|
+
# 1337566253.89858,
|
1022
|
+
# 0.000355720520019531
|
1023
|
+
# ],
|
1024
|
+
# [
|
1025
|
+
# [
|
1026
|
+
# [
|
1027
|
+
# 3
|
1028
|
+
# ],
|
1029
|
+
# [
|
1030
|
+
# [
|
1031
|
+
# "_id",
|
1032
|
+
# "UInt32"
|
1033
|
+
# ],
|
1034
|
+
# [
|
1035
|
+
# "_key",
|
1036
|
+
# "ShortText"
|
1037
|
+
# ],
|
1038
|
+
# [
|
1039
|
+
# "content",
|
1040
|
+
# "Text"
|
1041
|
+
# ],
|
1042
|
+
# [
|
1043
|
+
# "n_likes",
|
1044
|
+
# "UInt32"
|
1045
|
+
# ]
|
1046
|
+
# ],
|
1047
|
+
# [
|
1048
|
+
# 4,
|
1049
|
+
# "Good-bye Senna",
|
1050
|
+
# "I migrated all Senna system!",
|
1051
|
+
# 3
|
1052
|
+
# ],
|
1053
|
+
# [
|
1054
|
+
# 2,
|
1055
|
+
# "Groonga",
|
1056
|
+
# "I started to use groonga. It's very fast!",
|
1057
|
+
# 10
|
1058
|
+
# ],
|
1059
|
+
# [
|
1060
|
+
# 3,
|
1061
|
+
# "Mroonga",
|
1062
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
1063
|
+
# 15
|
1064
|
+
# ]
|
1065
|
+
# ]
|
1066
|
+
# ]
|
1067
|
+
# ]
|
1068
|
+
select Entries --query 'n_likes:<5 (content:@senna OR content:@fast)'
|
1069
|
+
# [
|
1070
|
+
# [
|
1071
|
+
# 0,
|
1072
|
+
# 1337566253.89858,
|
1073
|
+
# 0.000355720520019531
|
1074
|
+
# ],
|
1075
|
+
# [
|
1076
|
+
# [
|
1077
|
+
# [
|
1078
|
+
# 1
|
1079
|
+
# ],
|
1080
|
+
# [
|
1081
|
+
# [
|
1082
|
+
# "_id",
|
1083
|
+
# "UInt32"
|
1084
|
+
# ],
|
1085
|
+
# [
|
1086
|
+
# "_key",
|
1087
|
+
# "ShortText"
|
1088
|
+
# ],
|
1089
|
+
# [
|
1090
|
+
# "content",
|
1091
|
+
# "Text"
|
1092
|
+
# ],
|
1093
|
+
# [
|
1094
|
+
# "n_likes",
|
1095
|
+
# "UInt32"
|
1096
|
+
# ]
|
1097
|
+
# ],
|
1098
|
+
# [
|
1099
|
+
# 4,
|
1100
|
+
# "Good-bye Senna",
|
1101
|
+
# "I migrated all Senna system!",
|
1102
|
+
# 3
|
1103
|
+
# ]
|
1104
|
+
# ]
|
1105
|
+
# ]
|
1106
|
+
# ]
|
1107
|
+
</pre></div>
|
1108
|
+
</div>
|
1109
|
+
<p>最初の式はグループ化していません。この式は <tt class="docutils literal"><span class="pre">n_likes:<5</span></tt> と <tt class="docutils literal"><span class="pre">content:@senna</span></tt> の両方がマッチするか <tt class="docutils literal"><span class="pre">content:@fast</span></tt> がマッチするレコードにマッチします。</p>
|
1110
|
+
<p>2番目の式はグループ化しています。この式は <tt class="docutils literal"><span class="pre">n_likes:<5</span></tt> にマッチして、 <tt class="docutils literal"><span class="pre">content:@senna</span></tt> と <tt class="docutils literal"><span class="pre">content:@fast</span></tt> は少なくともどちらか一方にマッチするレコードにマッチします。</p>
|
1111
|
+
</div>
|
1112
|
+
</div>
|
1113
|
+
<div class="section" id="assignment-expression">
|
1114
|
+
<h2>8.8.1.5. 代入式<a class="headerlink" href="#assignment-expression" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
1115
|
+
<p>このセクションは高度なユーザー向けです。それは、代入式は <a class="reference internal" href="../commands/select.html"><em>select</em></a> の <tt class="docutils literal"><span class="pre">--query</span></tt> オプションではデフォルトでは無効になっているからです。代入式を有効にするには <tt class="docutils literal"><span class="pre">--query_flags</span></tt> オプションに <tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt> を指定してください。</p>
|
1116
|
+
<p>クエリ構文における代入式にはいくつか制限があります。代入にはクエリ構文の代りに <a class="reference internal" href="script_syntax.html"><em>スクリプト構文</em></a> を使ってください。</p>
|
1117
|
+
<p>代入式の構文は1つだけです。 <tt class="docutils literal"><span class="pre">column:=value</span></tt> となります。</p>
|
1118
|
+
<p><tt class="docutils literal"><span class="pre">value</span></tt> は <tt class="docutils literal"><span class="pre">column</span></tt> に代入されます。 <tt class="docutils literal"><span class="pre">value</span></tt> は常にクエリ構文では文字列として扱われます。 <tt class="docutils literal"><span class="pre">value</span></tt> は <tt class="docutils literal"><span class="pre">column</span></tt> の型へと自動的にキャストされます。 キャストにはいくつか制限があります。例えば <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">Bool</span></tt> 型のカラムに使用することができません。 <tt class="docutils literal"><span class="pre">false</span></tt> については空文字列を使う必要がありますが、クエリ構文は <tt class="docutils literal"><span class="pre">column:=</span></tt> 構文をサポートしていません。</p>
|
1119
|
+
<p>キャストについては <a class="reference internal" href="../cast.html"><em>Cast</em></a> を参照してください。</p>
|
1120
|
+
</div>
|
1121
|
+
</div>
|
1122
|
+
|
1123
|
+
|
1124
|
+
</div>
|
1125
|
+
</div>
|
1126
|
+
</div>
|
1127
|
+
<div class="sphinxsidebar">
|
1128
|
+
<div class="sphinxsidebarwrapper">
|
1129
|
+
<h3><a href="../../index.html">目次</a></h3>
|
1130
|
+
<ul>
|
1131
|
+
<li><a class="reference internal" href="#">8.8.1. クエリ構文</a><ul>
|
1132
|
+
<li><a class="reference internal" href="#sample-data">8.8.1.1. サンプルデータ</a></li>
|
1133
|
+
<li><a class="reference internal" href="#escape">8.8.1.2. エスケープ</a></li>
|
1134
|
+
<li><a class="reference internal" href="#conditional-expression">8.8.1.3. 条件式</a><ul>
|
1135
|
+
<li><a class="reference internal" href="#full-text-search-condition">8.8.1.3.1. 全文検索条件</a></li>
|
1136
|
+
<li><a class="reference internal" href="#phrase-search-condition">8.8.1.3.2. フレーズ検索条件</a></li>
|
1137
|
+
<li><a class="reference internal" href="#full-text-search-condition-with-explicit-match-column">8.8.1.3.3. 全文検索条件(マッチカラム指定あり)</a></li>
|
1138
|
+
<li><a class="reference internal" href="#phrase-search-condition-with-explicit-match-column">8.8.1.3.4. フレーズ検索条件(マッチカラム指定あり)</a></li>
|
1139
|
+
<li><a class="reference internal" href="#prefix-search-condition">8.8.1.3.5. 前方一致検索条件</a></li>
|
1140
|
+
<li><a class="reference internal" href="#suffix-search-condition">8.8.1.3.6. 後方一致検索条件</a></li>
|
1141
|
+
<li><a class="reference internal" href="#equal-condition">8.8.1.3.7. 等価条件</a></li>
|
1142
|
+
<li><a class="reference internal" href="#not-equal-condition">8.8.1.3.8. 不等価条件</a></li>
|
1143
|
+
<li><a class="reference internal" href="#less-than-condition">8.8.1.3.9. 小なり条件</a></li>
|
1144
|
+
<li><a class="reference internal" href="#greater-than-condition">8.8.1.3.10. 大なり条件</a></li>
|
1145
|
+
<li><a class="reference internal" href="#less-than-or-equal-to-condition">8.8.1.3.11. 以下条件</a></li>
|
1146
|
+
<li><a class="reference internal" href="#greater-than-or-equal-to-condition">8.8.1.3.12. 以上条件</a></li>
|
1147
|
+
</ul>
|
1148
|
+
</li>
|
1149
|
+
<li><a class="reference internal" href="#combined-expression">8.8.1.4. 結合式</a><ul>
|
1150
|
+
<li><a class="reference internal" href="#logical-or">8.8.1.4.1. 論理和</a></li>
|
1151
|
+
<li><a class="reference internal" href="#logical-and">8.8.1.4.2. 論理積</a></li>
|
1152
|
+
<li><a class="reference internal" href="#logical-not">8.8.1.4.3. 論理否定</a></li>
|
1153
|
+
<li><a class="reference internal" href="#grouping">8.8.1.4.4. グループ化</a></li>
|
1154
|
+
</ul>
|
1155
|
+
</li>
|
1156
|
+
<li><a class="reference internal" href="#assignment-expression">8.8.1.5. 代入式</a></li>
|
1157
|
+
</ul>
|
1158
|
+
</li>
|
1159
|
+
</ul>
|
1160
|
+
|
1161
|
+
<h4>前のトピックへ</h4>
|
1162
|
+
<p class="topless"><a href="../grn_expr.html"
|
1163
|
+
title="前の章へ">8.8. grn_expr</a></p>
|
1164
|
+
<h4>次のトピックへ</h4>
|
1165
|
+
<p class="topless"><a href="script_syntax.html"
|
1166
|
+
title="次の章へ">8.8.2. スクリプト構文</a></p>
|
1167
|
+
<h3>このページ</h3>
|
1168
|
+
<ul class="this-page-menu">
|
1169
|
+
<li><a href="../../_sources/reference/grn_expr/query_syntax.txt"
|
1170
|
+
rel="nofollow">ソースコードを表示</a></li>
|
1171
|
+
</ul>
|
1172
|
+
<div id="searchbox" style="display: none">
|
1173
|
+
<h3>クイック検索</h3>
|
1174
|
+
<form class="search" action="../../search.html" method="get">
|
1175
|
+
<input type="text" name="q" />
|
1176
|
+
<input type="submit" value="検索" />
|
1177
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
1178
|
+
<input type="hidden" name="area" value="default" />
|
1179
|
+
</form>
|
1180
|
+
<p class="searchtip" style="font-size: 90%">
|
1181
|
+
モジュール、クラス、または関数名を入力してください
|
1182
|
+
</p>
|
1183
|
+
</div>
|
1184
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
1185
|
+
</div>
|
1186
|
+
</div>
|
1187
|
+
<div class="clearer"></div>
|
1188
|
+
</div>
|
1189
|
+
<div class="related">
|
1190
|
+
<h3>ナビゲーション</h3>
|
1191
|
+
<ul>
|
1192
|
+
<li class="right" style="margin-right: 10px">
|
1193
|
+
<a href="../../genindex.html" title="総合索引"
|
1194
|
+
>索引</a></li>
|
1195
|
+
<li class="right" >
|
1196
|
+
<a href="script_syntax.html" title="8.8.2. スクリプト構文"
|
1197
|
+
>次へ</a> |</li>
|
1198
|
+
<li class="right" >
|
1199
|
+
<a href="../grn_expr.html" title="8.8. grn_expr"
|
1200
|
+
>前へ</a> |</li>
|
1201
|
+
<li><a href="../../index.html">groonga v2.0.7ドキュメント</a> »</li>
|
1202
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
1203
|
+
<li><a href="../grn_expr.html" >8.8. grn_expr</a> »</li>
|
1204
|
+
</ul>
|
1205
|
+
</div>
|
1206
|
+
<div class="footer">
|
1207
|
+
© Copyright 2009-2012, Brazil, Inc.
|
1208
|
+
</div>
|
1209
|
+
</body>
|
1210
|
+
</html>
|