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,1365 @@
|
|
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. Query syntax — groonga v2.0.5-316-g23cc017 documentation</title>
|
13
|
+
|
14
|
+
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
15
|
+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
var DOCUMENTATION_OPTIONS = {
|
19
|
+
URL_ROOT: '../../',
|
20
|
+
VERSION: '2.0.5-316-g23cc017',
|
21
|
+
COLLAPSE_INDEX: false,
|
22
|
+
FILE_SUFFIX: '.html',
|
23
|
+
HAS_SOURCE: true
|
24
|
+
};
|
25
|
+
</script>
|
26
|
+
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
27
|
+
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
28
|
+
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
29
|
+
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
30
|
+
<link rel="top" title="groonga v2.0.5-316-g23cc017 documentation" href="../../index.html" />
|
31
|
+
<link rel="up" title="8.8. grn_expr" href="../grn_expr.html" />
|
32
|
+
<link rel="next" title="8.8.2. Script syntax" href="script_syntax.html" />
|
33
|
+
<link rel="prev" title="8.8. grn_expr" href="../grn_expr.html" />
|
34
|
+
</head>
|
35
|
+
<body>
|
36
|
+
<div class="header">
|
37
|
+
<h1 class="title">
|
38
|
+
<a id="top-link" href="../../index.html">
|
39
|
+
<span class="project">groonga</span>
|
40
|
+
<span class="separator">-</span>
|
41
|
+
<span class="description">An open-source fulltext search engine and column store.</span>
|
42
|
+
</a>
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<div class="other-language-links">
|
46
|
+
<ul>
|
47
|
+
<li><a href="../../../../ja/html/reference/grn_expr/query_syntax.html"><img src="../../_static/jp.png" alt="日本語">日本語版はこちら</a></li>
|
48
|
+
</ul>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
|
53
|
+
<div class="related">
|
54
|
+
<h3>Navigation</h3>
|
55
|
+
<ul>
|
56
|
+
<li class="right" style="margin-right: 10px">
|
57
|
+
<a href="../../genindex.html" title="General Index"
|
58
|
+
accesskey="I">index</a></li>
|
59
|
+
<li class="right" >
|
60
|
+
<a href="script_syntax.html" title="8.8.2. Script syntax"
|
61
|
+
accesskey="N">next</a> |</li>
|
62
|
+
<li class="right" >
|
63
|
+
<a href="../grn_expr.html" title="8.8. grn_expr"
|
64
|
+
accesskey="P">previous</a> |</li>
|
65
|
+
<li><a href="../../index.html">groonga v2.0.5-316-g23cc017 documentation</a> »</li>
|
66
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
67
|
+
<li><a href="../grn_expr.html" accesskey="U">8.8. grn_expr</a> »</li>
|
68
|
+
</ul>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
<div class="document">
|
72
|
+
<div class="documentwrapper">
|
73
|
+
<div class="bodywrapper">
|
74
|
+
<div class="body">
|
75
|
+
|
76
|
+
<div class="section" id="query-syntax">
|
77
|
+
<h1>8.8.1. Query syntax<a class="headerlink" href="#query-syntax" title="Permalink to this headline">¶</a></h1>
|
78
|
+
<p>Query syntax is a syntax to specify search condition for common Web
|
79
|
+
search form. It is similar to the syntax of Google's search form. For
|
80
|
+
example, <tt class="docutils literal"><span class="pre">word1</span> <span class="pre">word2</span></tt> means that groonga searches records that
|
81
|
+
contain both <tt class="docutils literal"><span class="pre">word1</span></tt> and <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> means that
|
82
|
+
groogna searches records that contain either <tt class="docutils literal"><span class="pre">word1</span></tt> or <tt class="docutils literal"><span class="pre">word2</span></tt>.</p>
|
83
|
+
<p>Query syntax consists of <tt class="docutils literal"><span class="pre">conditional</span> <span class="pre">expression</span></tt>, <tt class="docutils literal"><span class="pre">combind</span>
|
84
|
+
<span class="pre">expression</span></tt> and <tt class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></tt>. Nomrally <tt class="docutils literal"><span class="pre">assignment</span>
|
85
|
+
<span class="pre">expression</span></tt> can be ignored. Because <tt class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></tt> is
|
86
|
+
disabled in <tt class="docutils literal"><span class="pre">--query</span></tt> option of <a class="reference internal" href="../commands/select.html"><em>select</em></a>. You can use
|
87
|
+
it if you use groonga as library and customize query syntax parser
|
88
|
+
options.</p>
|
89
|
+
<p><tt class="docutils literal"><span class="pre">Conditinal</span> <span class="pre">expression</span></tt> specifies an condition. <tt class="docutils literal"><span class="pre">Combinded</span>
|
90
|
+
<span class="pre">expression</span></tt> consists of one or more <tt class="docutils literal"><span class="pre">conditional</span> <span class="pre">expression</span></tt>,
|
91
|
+
<tt class="docutils literal"><span class="pre">combined</span> <span class="pre">expression</span></tt> or <tt class="docutils literal"><span class="pre">assignment</span> <span class="pre">expression</span></tt>. <tt class="docutils literal"><span class="pre">Assignment</span>
|
92
|
+
<span class="pre">expression</span></tt> can assigns a column to a value.</p>
|
93
|
+
<div class="section" id="sample-data">
|
94
|
+
<h2>8.8.1.1. Sample data<a class="headerlink" href="#sample-data" title="Permalink to this headline">¶</a></h2>
|
95
|
+
<p>Here are a schema definition and sample data to show usage.</p>
|
96
|
+
<p>Execution example:</p>
|
97
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Entries TABLE_PAT_KEY ShortText
|
98
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
99
|
+
column_create Entries content COLUMN_SCALAR Text
|
100
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
101
|
+
column_create Entries n_likes COLUMN_SCALAR UInt32
|
102
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
103
|
+
table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
104
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
105
|
+
column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
|
106
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
107
|
+
column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
|
108
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
109
|
+
load --table Entries
|
110
|
+
[
|
111
|
+
{"_key": "The first post!",
|
112
|
+
"content": "Welcome! This is my first post!",
|
113
|
+
"n_likes": 5},
|
114
|
+
{"_key": "Groonga",
|
115
|
+
"content": "I started to use groonga. It's very fast!",
|
116
|
+
"n_likes": 10},
|
117
|
+
{"_key": "Mroonga",
|
118
|
+
"content": "I also started to use mroonga. It's also very fast! Really fast!",
|
119
|
+
"n_likes": 15},
|
120
|
+
{"_key": "Good-bye Senna",
|
121
|
+
"content": "I migrated all Senna system!",
|
122
|
+
"n_likes": 3},
|
123
|
+
{"_key": "Good-bye Tritonn",
|
124
|
+
"content": "I also migrated all Tritonn system!",
|
125
|
+
"n_likes": 3}
|
126
|
+
]
|
127
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 5]
|
128
|
+
</pre></div>
|
129
|
+
</div>
|
130
|
+
<p>There is a table, <tt class="docutils literal"><span class="pre">Entries</span></tt>, for blog entries. An entry has title,
|
131
|
+
content and the number of likes for the entry. Title is key of
|
132
|
+
<tt class="docutils literal"><span class="pre">Entries</span></tt>. Content is value of <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column. The
|
133
|
+
number of likes is value of <tt class="docutils literal"><span class="pre">Entries.n_likes</span></tt> column.</p>
|
134
|
+
<p><tt class="docutils literal"><span class="pre">Entries._key</span></tt> column and <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column are indexed
|
135
|
+
using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tokenizer. So both <tt class="docutils literal"><span class="pre">Entries._key</span></tt> and
|
136
|
+
<tt class="docutils literal"><span class="pre">Entries.content</span></tt> are fulltext search ready.</p>
|
137
|
+
<p>OK. The schema and data for examples are ready.</p>
|
138
|
+
</div>
|
139
|
+
<div class="section" id="escape">
|
140
|
+
<h2>8.8.1.2. Escape<a class="headerlink" href="#escape" title="Permalink to this headline">¶</a></h2>
|
141
|
+
<p>There are special characters in query syntax. To use a special
|
142
|
+
character as itself, it should be escaped by prepending <tt class="docutils literal"><span class="pre">\</span></tt>. For
|
143
|
+
example, <tt class="docutils literal"><span class="pre">"</span></tt> is a special character. It is escaped as <tt class="docutils literal"><span class="pre">\"</span></tt>.</p>
|
144
|
+
<p>Here is a special character list:</p>
|
145
|
+
<blockquote>
|
146
|
+
<div><ul class="simple">
|
147
|
+
<li><tt class="docutils literal"><span class="pre">[space]</span></tt> (escaped as <tt class="docutils literal"><span class="pre">[backquote][space]</span></tt>) (You should
|
148
|
+
substitute <tt class="docutils literal"><span class="pre">[space]</span></tt> with a white space character that is 0x20
|
149
|
+
in ASCII and <tt class="docutils literal"><span class="pre">[backquote]</span></tt> with <tt class="docutils literal"><span class="pre">\\</span></tt>.)</li>
|
150
|
+
<li><tt class="docutils literal"><span class="pre">"</span></tt> (escaped as <tt class="docutils literal"><span class="pre">\"</span></tt>)</li>
|
151
|
+
<li><tt class="docutils literal"><span class="pre">'</span></tt> (escaped as <tt class="docutils literal"><span class="pre">\'</span></tt>)</li>
|
152
|
+
<li><tt class="docutils literal"><span class="pre">(</span></tt> (escaped as <tt class="docutils literal"><span class="pre">\(</span></tt>)</li>
|
153
|
+
<li><tt class="docutils literal"><span class="pre">)</span></tt> (escaped as <tt class="docutils literal"><span class="pre">\)</span></tt>)</li>
|
154
|
+
<li><tt class="docutils literal"><span class="pre">\</span></tt> (escaped as <tt class="docutils literal"><span class="pre">\\</span></tt>)</li>
|
155
|
+
</ul>
|
156
|
+
</div></blockquote>
|
157
|
+
<p>You can use quote instead of escape. Quote syntax is <tt class="docutils literal"><span class="pre">"..."</span></tt> or
|
158
|
+
<tt class="docutils literal"><span class="pre">'...'</span></tt>. You need escape <tt class="docutils literal"><span class="pre">"</span></tt> as <tt class="docutils literal"><span class="pre">\"</span></tt> in <tt class="docutils literal"><span class="pre">"..."</span></tt> quote syntax.
|
159
|
+
You need escape <tt class="docutils literal"><span class="pre">'</span></tt> as <tt class="docutils literal"><span class="pre">\'</span></tt> in <tt class="docutils literal"><span class="pre">'...'</span></tt> quote syntax. For
|
160
|
+
example, <tt class="docutils literal"><span class="pre">Alice's</span> <span class="pre">brother</span> <span class="pre">(Bob)</span></tt> can be quoted <tt class="docutils literal"><span class="pre">"Alice's</span> <span class="pre">brother</span>
|
161
|
+
<span class="pre">(Bob)"</span></tt> or <tt class="docutils literal"><span class="pre">'Alice\'s</span> <span class="pre">brother</span> <span class="pre">(Bob)'</span></tt>.</p>
|
162
|
+
</div>
|
163
|
+
<div class="section" id="conditional-expression">
|
164
|
+
<span id="id1"></span><h2>8.8.1.3. Conditional expression<a class="headerlink" href="#conditional-expression" title="Permalink to this headline">¶</a></h2>
|
165
|
+
<p>Here is available conditional expression list.</p>
|
166
|
+
<div class="section" id="full-text-search-condition">
|
167
|
+
<span id="id2"></span><h3>8.8.1.3.1. Full text search condition<a class="headerlink" href="#full-text-search-condition" title="Permalink to this headline">¶</a></h3>
|
168
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">keyword</span></tt>.</p>
|
169
|
+
<p><tt class="docutils literal"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> specifies a full text search condition
|
170
|
+
against the default match columns. Match columns are full text search
|
171
|
+
target columns.</p>
|
172
|
+
<p>You should specify the default match columns for full text
|
173
|
+
search. They can be specified by <tt class="docutils literal"><span class="pre">--match_columns</span></tt> option of
|
174
|
+
<a class="reference internal" href="../commands/select.html"><em>select</em></a>. If you don't specify the default match
|
175
|
+
columns, this conditional expression fails.</p>
|
176
|
+
<p>This conditional expression does full text search with
|
177
|
+
<tt class="docutils literal"><span class="pre">keyword</span></tt>. <tt class="docutils literal"><span class="pre">keyword</span></tt> should not contain any spaces. If <tt class="docutils literal"><span class="pre">keyword</span></tt>
|
178
|
+
contains a space such as <tt class="docutils literal"><span class="pre">search</span> <span class="pre">keyword</span></tt>, it means two full text
|
179
|
+
search conditions; <tt class="docutils literal"><span class="pre">search</span></tt> and <tt class="docutils literal"><span class="pre">keyword</span></tt>. If you want to
|
180
|
+
specifies a keyword that contains one or more spaces, you can use
|
181
|
+
<tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> that is described below.</p>
|
182
|
+
<p>Here is a simple exmaple.</p>
|
183
|
+
<p>Execution example:</p>
|
184
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query fast
|
185
|
+
# [
|
186
|
+
# [
|
187
|
+
# 0,
|
188
|
+
# 1337566253.89858,
|
189
|
+
# 0.000355720520019531
|
190
|
+
# ],
|
191
|
+
# [
|
192
|
+
# [
|
193
|
+
# [
|
194
|
+
# 2
|
195
|
+
# ],
|
196
|
+
# [
|
197
|
+
# [
|
198
|
+
# "_id",
|
199
|
+
# "UInt32"
|
200
|
+
# ],
|
201
|
+
# [
|
202
|
+
# "_key",
|
203
|
+
# "ShortText"
|
204
|
+
# ],
|
205
|
+
# [
|
206
|
+
# "content",
|
207
|
+
# "Text"
|
208
|
+
# ],
|
209
|
+
# [
|
210
|
+
# "n_likes",
|
211
|
+
# "UInt32"
|
212
|
+
# ]
|
213
|
+
# ],
|
214
|
+
# [
|
215
|
+
# 2,
|
216
|
+
# "Groonga",
|
217
|
+
# "I started to use groonga. It's very fast!",
|
218
|
+
# 10
|
219
|
+
# ],
|
220
|
+
# [
|
221
|
+
# 3,
|
222
|
+
# "Mroonga",
|
223
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
224
|
+
# 15
|
225
|
+
# ]
|
226
|
+
# ]
|
227
|
+
# ]
|
228
|
+
# ]
|
229
|
+
</pre></div>
|
230
|
+
</div>
|
231
|
+
<p>The expression matches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt> in
|
232
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
233
|
+
<p><tt class="docutils literal"><span class="pre">content</span></tt> column is the default match column.</p>
|
234
|
+
</div>
|
235
|
+
<div class="section" id="phrase-search-condition">
|
236
|
+
<span id="id3"></span><h3>8.8.1.3.2. Phrase search condition<a class="headerlink" href="#phrase-search-condition" title="Permalink to this headline">¶</a></h3>
|
237
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">"search</span> <span class="pre">keyword"</span></tt>.</p>
|
238
|
+
<p><tt class="docutils literal"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> specifies a phrase search condition
|
239
|
+
against the default match columns.</p>
|
240
|
+
<p>You should specify the default match columns for full text
|
241
|
+
search. They can be specified by <tt class="docutils literal"><span class="pre">--match_columns</span></tt> option of
|
242
|
+
<a class="reference internal" href="../commands/select.html"><em>select</em></a>. If you don't specify the default match
|
243
|
+
columns, this conditional expression fails.</p>
|
244
|
+
<p>This conditional expression does phrase search with <tt class="docutils literal"><span class="pre">search</span>
|
245
|
+
<span class="pre">keyword</span></tt>. Phrase search searches records that contain <tt class="docutils literal"><span class="pre">search</span></tt> and
|
246
|
+
<tt class="docutils literal"><span class="pre">keyword</span></tt> and those terms are appeared in the same order and
|
247
|
+
adjacent. Thus, <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> is matched but
|
248
|
+
<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> and <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>
|
249
|
+
aren't matched.</p>
|
250
|
+
<p>Here is a simple exmaple.</p>
|
251
|
+
<p>Execution example:</p>
|
252
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --match_columns content --query '"I started"'
|
253
|
+
# [
|
254
|
+
# [
|
255
|
+
# 0,
|
256
|
+
# 1337566253.89858,
|
257
|
+
# 0.000355720520019531
|
258
|
+
# ],
|
259
|
+
# [
|
260
|
+
# [
|
261
|
+
# [
|
262
|
+
# 1
|
263
|
+
# ],
|
264
|
+
# [
|
265
|
+
# [
|
266
|
+
# "_id",
|
267
|
+
# "UInt32"
|
268
|
+
# ],
|
269
|
+
# [
|
270
|
+
# "_key",
|
271
|
+
# "ShortText"
|
272
|
+
# ],
|
273
|
+
# [
|
274
|
+
# "content",
|
275
|
+
# "Text"
|
276
|
+
# ],
|
277
|
+
# [
|
278
|
+
# "n_likes",
|
279
|
+
# "UInt32"
|
280
|
+
# ]
|
281
|
+
# ],
|
282
|
+
# [
|
283
|
+
# 2,
|
284
|
+
# "Groonga",
|
285
|
+
# "I started to use groonga. It's very fast!",
|
286
|
+
# 10
|
287
|
+
# ]
|
288
|
+
# ]
|
289
|
+
# ]
|
290
|
+
# ]
|
291
|
+
</pre></div>
|
292
|
+
</div>
|
293
|
+
<p>The expression matches records that contain a phrase <tt class="docutils literal"><span class="pre">I</span> <span class="pre">started</span></tt> in
|
294
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value. <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></tt> isn't matched because
|
295
|
+
<tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">started</span></tt> aren't adjacent.</p>
|
296
|
+
<p><tt class="docutils literal"><span class="pre">content</span></tt> column is the default match column.</p>
|
297
|
+
</div>
|
298
|
+
<div class="section" id="full-text-search-condition-with-explicit-match-column">
|
299
|
+
<h3>8.8.1.3.3. Full text search condition (with explicit match column)<a class="headerlink" href="#full-text-search-condition-with-explicit-match-column" title="Permalink to this headline">¶</a></h3>
|
300
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:@keyword</span></tt>.</p>
|
301
|
+
<p>It's similar to <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> but it doesn't require
|
302
|
+
the default match columns. You need to specify match column for the
|
303
|
+
full text search condition by <tt class="docutils literal"><span class="pre">column:</span></tt> instead of
|
304
|
+
<tt class="docutils literal"><span class="pre">--match_columns</span></tt> option of <a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
|
305
|
+
<p>This condtional expression is useful when you want to use two or more
|
306
|
+
full text search against different columns. The default match columns
|
307
|
+
specified by <tt class="docutils literal"><span class="pre">--match_columns</span></tt> option can't be specified multiple
|
308
|
+
times. You need to specify the second match column by this conditional
|
309
|
+
expression.</p>
|
310
|
+
<p>The different between <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
311
|
+
<span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></tt> is whether advanced
|
312
|
+
match columns are supported or not. <tt class="docutils literal"><span class="pre">Full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt>
|
313
|
+
supports advanced match columns but <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span>
|
314
|
+
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></tt> isn't supported. Advanced match columns has
|
315
|
+
the following features:</p>
|
316
|
+
<blockquote>
|
317
|
+
<div><ul class="simple">
|
318
|
+
<li>Weight is supported.</li>
|
319
|
+
<li>Using multiple columns are supported.</li>
|
320
|
+
<li>Using index column as a match column is supported.</li>
|
321
|
+
</ul>
|
322
|
+
</div></blockquote>
|
323
|
+
<p>See description of <tt class="docutils literal"><span class="pre">--match_columns</span></tt> option of
|
324
|
+
<a class="reference internal" href="../commands/select.html"><em>select</em></a> about them.</p>
|
325
|
+
<p>Here is a simple exmaple.</p>
|
326
|
+
<p>Execution example:</p>
|
327
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query content:@fast
|
328
|
+
# [
|
329
|
+
# [
|
330
|
+
# 0,
|
331
|
+
# 1337566253.89858,
|
332
|
+
# 0.000355720520019531
|
333
|
+
# ],
|
334
|
+
# [
|
335
|
+
# [
|
336
|
+
# [
|
337
|
+
# 2
|
338
|
+
# ],
|
339
|
+
# [
|
340
|
+
# [
|
341
|
+
# "_id",
|
342
|
+
# "UInt32"
|
343
|
+
# ],
|
344
|
+
# [
|
345
|
+
# "_key",
|
346
|
+
# "ShortText"
|
347
|
+
# ],
|
348
|
+
# [
|
349
|
+
# "content",
|
350
|
+
# "Text"
|
351
|
+
# ],
|
352
|
+
# [
|
353
|
+
# "n_likes",
|
354
|
+
# "UInt32"
|
355
|
+
# ]
|
356
|
+
# ],
|
357
|
+
# [
|
358
|
+
# 2,
|
359
|
+
# "Groonga",
|
360
|
+
# "I started to use groonga. It's very fast!",
|
361
|
+
# 10
|
362
|
+
# ],
|
363
|
+
# [
|
364
|
+
# 3,
|
365
|
+
# "Mroonga",
|
366
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
367
|
+
# 15
|
368
|
+
# ]
|
369
|
+
# ]
|
370
|
+
# ]
|
371
|
+
# ]
|
372
|
+
</pre></div>
|
373
|
+
</div>
|
374
|
+
<p>The expression matches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt> in
|
375
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
376
|
+
</div>
|
377
|
+
<div class="section" id="phrase-search-condition-with-explicit-match-column">
|
378
|
+
<h3>8.8.1.3.4. Phrase search condition (with explicit match column)<a class="headerlink" href="#phrase-search-condition-with-explicit-match-column" title="Permalink to this headline">¶</a></h3>
|
379
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:@"search</span> <span class="pre">keyword"</span></tt>.</p>
|
380
|
+
<p>It's similar to <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> but it doesn't require the
|
381
|
+
default match columns. You need to specify match column for the phrase
|
382
|
+
search condition by <tt class="docutils literal"><span class="pre">column:</span></tt> instead of <tt class="docutils literal"><span class="pre">--match_columns</span></tt> option
|
383
|
+
of <a class="reference internal" href="../commands/select.html"><em>select</em></a>.</p>
|
384
|
+
<p>The different between <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span>
|
385
|
+
<span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></tt> is similar to between <tt class="docutils literal"><span class="pre">full</span>
|
386
|
+
<span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span>
|
387
|
+
<span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></tt>. <tt class="docutils literal"><span class="pre">Phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt> supports
|
388
|
+
advanced match columns but <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span>
|
389
|
+
<span class="pre">match</span> <span class="pre">column)</span></tt> isn't supported. See description of <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span> <span class="pre">search</span>
|
390
|
+
<span class="pre">condition</span> <span class="pre">(with</span> <span class="pre">explicit</span> <span class="pre">match</span> <span class="pre">column)</span></tt> about advanced match columns.</p>
|
391
|
+
<p>Here is a simple exmaple.</p>
|
392
|
+
<p>Execution example:</p>
|
393
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'content:@"I started"'
|
394
|
+
# [
|
395
|
+
# [
|
396
|
+
# 0,
|
397
|
+
# 1337566253.89858,
|
398
|
+
# 0.000355720520019531
|
399
|
+
# ],
|
400
|
+
# [
|
401
|
+
# [
|
402
|
+
# [
|
403
|
+
# 1
|
404
|
+
# ],
|
405
|
+
# [
|
406
|
+
# [
|
407
|
+
# "_id",
|
408
|
+
# "UInt32"
|
409
|
+
# ],
|
410
|
+
# [
|
411
|
+
# "_key",
|
412
|
+
# "ShortText"
|
413
|
+
# ],
|
414
|
+
# [
|
415
|
+
# "content",
|
416
|
+
# "Text"
|
417
|
+
# ],
|
418
|
+
# [
|
419
|
+
# "n_likes",
|
420
|
+
# "UInt32"
|
421
|
+
# ]
|
422
|
+
# ],
|
423
|
+
# [
|
424
|
+
# 2,
|
425
|
+
# "Groonga",
|
426
|
+
# "I started to use groonga. It's very fast!",
|
427
|
+
# 10
|
428
|
+
# ]
|
429
|
+
# ]
|
430
|
+
# ]
|
431
|
+
# ]
|
432
|
+
</pre></div>
|
433
|
+
</div>
|
434
|
+
<p>The expression matches records that contain a phrase <tt class="docutils literal"><span class="pre">I</span> <span class="pre">started</span></tt> in
|
435
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value. <tt class="docutils literal"><span class="pre">I</span> <span class="pre">also</span> <span class="pre">started</span></tt> isn't matched because
|
436
|
+
<tt class="docutils literal"><span class="pre">I</span></tt> and <tt class="docutils literal"><span class="pre">started</span></tt> aren't adjacent.</p>
|
437
|
+
</div>
|
438
|
+
<div class="section" id="prefix-search-condition">
|
439
|
+
<span id="id4"></span><h3>8.8.1.3.5. Prefix search condition<a class="headerlink" href="#prefix-search-condition" title="Permalink to this headline">¶</a></h3>
|
440
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:^value</span></tt> or <tt class="docutils literal"><span class="pre">value*</span></tt>.</p>
|
441
|
+
<p>This conditional expression does prefix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Prefix
|
442
|
+
search searches records that contain a word that starts with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
443
|
+
<p>You can use fast prefix search against a column. The column must be
|
444
|
+
indexed and index table must be patricia trie table
|
445
|
+
(<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) or double array trie table
|
446
|
+
(<tt class="docutils literal"><span class="pre">TABLE_DAT_KEY</span></tt>). You can also use fast prefix search against
|
447
|
+
<tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column of patricia trie table or double array trie
|
448
|
+
table. You don't need to index <tt class="docutils literal"><span class="pre">_key</span></tt>.</p>
|
449
|
+
<p>Prefix search can be used with other table types but it causes all
|
450
|
+
records scan. It's not problem for small records but it spends more
|
451
|
+
time for large records.</p>
|
452
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
453
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
454
|
+
<p>Here is a simple exmaple.</p>
|
455
|
+
<p>Execution example:</p>
|
456
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query '_key:^Goo'
|
457
|
+
# [
|
458
|
+
# [
|
459
|
+
# 0,
|
460
|
+
# 1337566253.89858,
|
461
|
+
# 0.000355720520019531
|
462
|
+
# ],
|
463
|
+
# [
|
464
|
+
# [
|
465
|
+
# [
|
466
|
+
# 2
|
467
|
+
# ],
|
468
|
+
# [
|
469
|
+
# [
|
470
|
+
# "_id",
|
471
|
+
# "UInt32"
|
472
|
+
# ],
|
473
|
+
# [
|
474
|
+
# "_key",
|
475
|
+
# "ShortText"
|
476
|
+
# ],
|
477
|
+
# [
|
478
|
+
# "content",
|
479
|
+
# "Text"
|
480
|
+
# ],
|
481
|
+
# [
|
482
|
+
# "n_likes",
|
483
|
+
# "UInt32"
|
484
|
+
# ]
|
485
|
+
# ],
|
486
|
+
# [
|
487
|
+
# 5,
|
488
|
+
# "Good-bye Tritonn",
|
489
|
+
# "I also migrated all Tritonn system!",
|
490
|
+
# 3
|
491
|
+
# ],
|
492
|
+
# [
|
493
|
+
# 4,
|
494
|
+
# "Good-bye Senna",
|
495
|
+
# "I migrated all Senna system!",
|
496
|
+
# 3
|
497
|
+
# ]
|
498
|
+
# ]
|
499
|
+
# ]
|
500
|
+
# ]
|
501
|
+
</pre></div>
|
502
|
+
</div>
|
503
|
+
<p>The expression matches records that contain a word that starts with
|
504
|
+
<tt class="docutils literal"><span class="pre">Goo</span></tt> in <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column value. <tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Senna</span></tt> and
|
505
|
+
<tt class="docutils literal"><span class="pre">Good-bye</span> <span class="pre">Tritonn</span></tt> are matched with the expression.</p>
|
506
|
+
</div>
|
507
|
+
<div class="section" id="suffix-search-condition">
|
508
|
+
<span id="id5"></span><h3>8.8.1.3.6. Suffix search condition<a class="headerlink" href="#suffix-search-condition" title="Permalink to this headline">¶</a></h3>
|
509
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:$value</span></tt>.</p>
|
510
|
+
<p>This conditional expression does suffix search with <tt class="docutils literal"><span class="pre">value</span></tt>. Suffix
|
511
|
+
search searches records that contain a word that ends with <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
512
|
+
<p>You can use fast suffix search against a column. The column must be
|
513
|
+
indexed and index table must be patricia trie table
|
514
|
+
(<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) with <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag. You can also use fast
|
515
|
+
suffix search against <tt class="docutils literal"><span class="pre">_key</span></tt> pseudo column of patricia trie table
|
516
|
+
(<tt class="docutils literal"><span class="pre">TABLE_PAT_KEY</span></tt>) with <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag. You don't need to
|
517
|
+
index <tt class="docutils literal"><span class="pre">_key</span></tt>. We recommended that you use index column based fast
|
518
|
+
suffix search instead of <tt class="docutils literal"><span class="pre">_key</span></tt> based fast suffix search. <tt class="docutils literal"><span class="pre">_key</span></tt>
|
519
|
+
based fast suffix search returns automatically registered
|
520
|
+
substrings. (TODO: write document about suffix search and link to it
|
521
|
+
from here.)</p>
|
522
|
+
<div class="admonition note">
|
523
|
+
<p class="first admonition-title">Note</p>
|
524
|
+
<p class="last">Fast suffix search can be used only for non-ASCII characters such
|
525
|
+
as hiragana in Japanese. You cannot use fast suffix search for
|
526
|
+
ASCII character.</p>
|
527
|
+
</div>
|
528
|
+
<p>Suffix search can be used with other table types or patricia trie
|
529
|
+
table without <tt class="docutils literal"><span class="pre">KEY_WITH_SIS</span></tt> flag but it causes all records
|
530
|
+
scan. It's not problem for small records but it spends more time for
|
531
|
+
large records.</p>
|
532
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
533
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
534
|
+
<p>Here is a simple exmaple. It uses fast suffix search for hiragana in
|
535
|
+
Japanese that is one of non-ASCII characters.</p>
|
536
|
+
<p>Execution example:</p>
|
537
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create Titles TABLE_NO_KEY
|
538
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
539
|
+
column_create Titles content COLUMN_SCALAR ShortText
|
540
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
541
|
+
table_create SuffixSearchTerms TABLE_PAT_KEY|KEY_WITH_SIS ShortText
|
542
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
543
|
+
column_create SuffixSearchTerms index COLUMN_INDEX Titles content
|
544
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
545
|
+
load --table Titles
|
546
|
+
[
|
547
|
+
{"content": "ぐるんが"},
|
548
|
+
{"content": "むるんが"},
|
549
|
+
{"content": "せな"},
|
550
|
+
{"content": "とりとん"}
|
551
|
+
]
|
552
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 4]
|
553
|
+
select Titles --query 'content:$んが'
|
554
|
+
# [
|
555
|
+
# [
|
556
|
+
# 0,
|
557
|
+
# 1337566253.89858,
|
558
|
+
# 0.000355720520019531
|
559
|
+
# ],
|
560
|
+
# [
|
561
|
+
# [
|
562
|
+
# [
|
563
|
+
# 2
|
564
|
+
# ],
|
565
|
+
# [
|
566
|
+
# [
|
567
|
+
# "_id",
|
568
|
+
# "UInt32"
|
569
|
+
# ],
|
570
|
+
# [
|
571
|
+
# "content",
|
572
|
+
# "ShortText"
|
573
|
+
# ]
|
574
|
+
# ],
|
575
|
+
# [
|
576
|
+
# 2,
|
577
|
+
# "むるんが"
|
578
|
+
# ],
|
579
|
+
# [
|
580
|
+
# 1,
|
581
|
+
# "ぐるんが"
|
582
|
+
# ]
|
583
|
+
# ]
|
584
|
+
# ]
|
585
|
+
# ]
|
586
|
+
</pre></div>
|
587
|
+
</div>
|
588
|
+
<p>The expression matches records that have value that ends with <tt class="docutils literal"><span class="pre">んが</span></tt>
|
589
|
+
in <tt class="docutils literal"><span class="pre">content</span></tt> column value. <tt class="docutils literal"><span class="pre">ぐるんが</span></tt> and <tt class="docutils literal"><span class="pre">むるんが</span></tt> are matched
|
590
|
+
with the expression.</p>
|
591
|
+
</div>
|
592
|
+
<div class="section" id="equal-condition">
|
593
|
+
<h3>8.8.1.3.7. Equal condition<a class="headerlink" href="#equal-condition" title="Permalink to this headline">¶</a></h3>
|
594
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:value</span></tt>.</p>
|
595
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is equal to <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
596
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
597
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
598
|
+
<p>Here is a simple exmaple.</p>
|
599
|
+
<p>Execution example:</p>
|
600
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query _key:Groonga
|
601
|
+
# [
|
602
|
+
# [
|
603
|
+
# 0,
|
604
|
+
# 1337566253.89858,
|
605
|
+
# 0.000355720520019531
|
606
|
+
# ],
|
607
|
+
# [
|
608
|
+
# [
|
609
|
+
# [
|
610
|
+
# 1
|
611
|
+
# ],
|
612
|
+
# [
|
613
|
+
# [
|
614
|
+
# "_id",
|
615
|
+
# "UInt32"
|
616
|
+
# ],
|
617
|
+
# [
|
618
|
+
# "_key",
|
619
|
+
# "ShortText"
|
620
|
+
# ],
|
621
|
+
# [
|
622
|
+
# "content",
|
623
|
+
# "Text"
|
624
|
+
# ],
|
625
|
+
# [
|
626
|
+
# "n_likes",
|
627
|
+
# "UInt32"
|
628
|
+
# ]
|
629
|
+
# ],
|
630
|
+
# [
|
631
|
+
# 2,
|
632
|
+
# "Groonga",
|
633
|
+
# "I started to use groonga. It's very fast!",
|
634
|
+
# 10
|
635
|
+
# ]
|
636
|
+
# ]
|
637
|
+
# ]
|
638
|
+
# ]
|
639
|
+
</pre></div>
|
640
|
+
</div>
|
641
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">_key</span></tt> column value is
|
642
|
+
equal to <tt class="docutils literal"><span class="pre">Groonga</span></tt>.</p>
|
643
|
+
</div>
|
644
|
+
<div class="section" id="not-equal-condition">
|
645
|
+
<h3>8.8.1.3.8. Not equal condition<a class="headerlink" href="#not-equal-condition" title="Permalink to this headline">¶</a></h3>
|
646
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:!value</span></tt>.</p>
|
647
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value isn't equal to <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
648
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
649
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
650
|
+
<p>Here is a simple exmaple.</p>
|
651
|
+
<p>Execution example:</p>
|
652
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query _key:!Groonga
|
653
|
+
# [
|
654
|
+
# [
|
655
|
+
# 0,
|
656
|
+
# 1337566253.89858,
|
657
|
+
# 0.000355720520019531
|
658
|
+
# ],
|
659
|
+
# [
|
660
|
+
# [
|
661
|
+
# [
|
662
|
+
# 4
|
663
|
+
# ],
|
664
|
+
# [
|
665
|
+
# [
|
666
|
+
# "_id",
|
667
|
+
# "UInt32"
|
668
|
+
# ],
|
669
|
+
# [
|
670
|
+
# "_key",
|
671
|
+
# "ShortText"
|
672
|
+
# ],
|
673
|
+
# [
|
674
|
+
# "content",
|
675
|
+
# "Text"
|
676
|
+
# ],
|
677
|
+
# [
|
678
|
+
# "n_likes",
|
679
|
+
# "UInt32"
|
680
|
+
# ]
|
681
|
+
# ],
|
682
|
+
# [
|
683
|
+
# 4,
|
684
|
+
# "Good-bye Senna",
|
685
|
+
# "I migrated all Senna system!",
|
686
|
+
# 3
|
687
|
+
# ],
|
688
|
+
# [
|
689
|
+
# 5,
|
690
|
+
# "Good-bye Tritonn",
|
691
|
+
# "I also migrated all Tritonn system!",
|
692
|
+
# 3
|
693
|
+
# ],
|
694
|
+
# [
|
695
|
+
# 3,
|
696
|
+
# "Mroonga",
|
697
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
698
|
+
# 15
|
699
|
+
# ],
|
700
|
+
# [
|
701
|
+
# 1,
|
702
|
+
# "The first post!",
|
703
|
+
# "Welcome! This is my first post!",
|
704
|
+
# 5
|
705
|
+
# ]
|
706
|
+
# ]
|
707
|
+
# ]
|
708
|
+
# ]
|
709
|
+
</pre></div>
|
710
|
+
</div>
|
711
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">_key</span></tt> column value is not equal
|
712
|
+
to <tt class="docutils literal"><span class="pre">Groonga</span></tt>.</p>
|
713
|
+
</div>
|
714
|
+
<div class="section" id="less-than-condition">
|
715
|
+
<h3>8.8.1.3.9. Less than condition<a class="headerlink" href="#less-than-condition" title="Permalink to this headline">¶</a></h3>
|
716
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:<value</span></tt>.</p>
|
717
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is less than <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
718
|
+
<p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
|
719
|
+
value and <tt class="docutils literal"><span class="pre">value</span></tt> are compared as number. If <tt class="docutils literal"><span class="pre">column</span></tt> type is text
|
720
|
+
type such as <tt class="docutils literal"><span class="pre">ShortText</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt> value and <tt class="docutils literal"><span class="pre">value</span></tt> are
|
721
|
+
compared as bit sequence.</p>
|
722
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
723
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
724
|
+
<p>Here is a simple exmaple.</p>
|
725
|
+
<p>Execution example:</p>
|
726
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:<10
|
727
|
+
# [
|
728
|
+
# [
|
729
|
+
# 0,
|
730
|
+
# 1337566253.89858,
|
731
|
+
# 0.000355720520019531
|
732
|
+
# ],
|
733
|
+
# [
|
734
|
+
# [
|
735
|
+
# [
|
736
|
+
# 3
|
737
|
+
# ],
|
738
|
+
# [
|
739
|
+
# [
|
740
|
+
# "_id",
|
741
|
+
# "UInt32"
|
742
|
+
# ],
|
743
|
+
# [
|
744
|
+
# "_key",
|
745
|
+
# "ShortText"
|
746
|
+
# ],
|
747
|
+
# [
|
748
|
+
# "content",
|
749
|
+
# "Text"
|
750
|
+
# ],
|
751
|
+
# [
|
752
|
+
# "n_likes",
|
753
|
+
# "UInt32"
|
754
|
+
# ]
|
755
|
+
# ],
|
756
|
+
# [
|
757
|
+
# 4,
|
758
|
+
# "Good-bye Senna",
|
759
|
+
# "I migrated all Senna system!",
|
760
|
+
# 3
|
761
|
+
# ],
|
762
|
+
# [
|
763
|
+
# 5,
|
764
|
+
# "Good-bye Tritonn",
|
765
|
+
# "I also migrated all Tritonn system!",
|
766
|
+
# 3
|
767
|
+
# ],
|
768
|
+
# [
|
769
|
+
# 1,
|
770
|
+
# "The first post!",
|
771
|
+
# "Welcome! This is my first post!",
|
772
|
+
# 5
|
773
|
+
# ]
|
774
|
+
# ]
|
775
|
+
# ]
|
776
|
+
# ]
|
777
|
+
</pre></div>
|
778
|
+
</div>
|
779
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is less
|
780
|
+
than <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
781
|
+
</div>
|
782
|
+
<div class="section" id="greater-than-condition">
|
783
|
+
<h3>8.8.1.3.10. Greater than condition<a class="headerlink" href="#greater-than-condition" title="Permalink to this headline">¶</a></h3>
|
784
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:>value</span></tt>.</p>
|
785
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is greater than <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
786
|
+
<p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
|
787
|
+
value and <tt class="docutils literal"><span class="pre">value</span></tt> are compared as number. If <tt class="docutils literal"><span class="pre">column</span></tt> type is text
|
788
|
+
type such as <tt class="docutils literal"><span class="pre">ShortText</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt> value and <tt class="docutils literal"><span class="pre">value</span></tt> are
|
789
|
+
compared as bit sequence.</p>
|
790
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
791
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
792
|
+
<p>Here is a simple exmaple.</p>
|
793
|
+
<p>Execution example:</p>
|
794
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:>10
|
795
|
+
# [
|
796
|
+
# [
|
797
|
+
# 0,
|
798
|
+
# 1337566253.89858,
|
799
|
+
# 0.000355720520019531
|
800
|
+
# ],
|
801
|
+
# [
|
802
|
+
# [
|
803
|
+
# [
|
804
|
+
# 1
|
805
|
+
# ],
|
806
|
+
# [
|
807
|
+
# [
|
808
|
+
# "_id",
|
809
|
+
# "UInt32"
|
810
|
+
# ],
|
811
|
+
# [
|
812
|
+
# "_key",
|
813
|
+
# "ShortText"
|
814
|
+
# ],
|
815
|
+
# [
|
816
|
+
# "content",
|
817
|
+
# "Text"
|
818
|
+
# ],
|
819
|
+
# [
|
820
|
+
# "n_likes",
|
821
|
+
# "UInt32"
|
822
|
+
# ]
|
823
|
+
# ],
|
824
|
+
# [
|
825
|
+
# 3,
|
826
|
+
# "Mroonga",
|
827
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
828
|
+
# 15
|
829
|
+
# ]
|
830
|
+
# ]
|
831
|
+
# ]
|
832
|
+
# ]
|
833
|
+
</pre></div>
|
834
|
+
</div>
|
835
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is greater
|
836
|
+
than <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
837
|
+
</div>
|
838
|
+
<div class="section" id="less-than-or-equal-to-condition">
|
839
|
+
<h3>8.8.1.3.11. Less than or equal to condition<a class="headerlink" href="#less-than-or-equal-to-condition" title="Permalink to this headline">¶</a></h3>
|
840
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:<=value</span></tt>.</p>
|
841
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is less than or equal to
|
842
|
+
<tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
843
|
+
<p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
|
844
|
+
value and <tt class="docutils literal"><span class="pre">value</span></tt> are compared as number. If <tt class="docutils literal"><span class="pre">column</span></tt> type is text
|
845
|
+
type such as <tt class="docutils literal"><span class="pre">ShortText</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt> value and <tt class="docutils literal"><span class="pre">value</span></tt> are
|
846
|
+
compared as bit sequence.</p>
|
847
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
848
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
849
|
+
<p>Here is a simple exmaple.</p>
|
850
|
+
<p>Execution example:</p>
|
851
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:<=10
|
852
|
+
# [
|
853
|
+
# [
|
854
|
+
# 0,
|
855
|
+
# 1337566253.89858,
|
856
|
+
# 0.000355720520019531
|
857
|
+
# ],
|
858
|
+
# [
|
859
|
+
# [
|
860
|
+
# [
|
861
|
+
# 4
|
862
|
+
# ],
|
863
|
+
# [
|
864
|
+
# [
|
865
|
+
# "_id",
|
866
|
+
# "UInt32"
|
867
|
+
# ],
|
868
|
+
# [
|
869
|
+
# "_key",
|
870
|
+
# "ShortText"
|
871
|
+
# ],
|
872
|
+
# [
|
873
|
+
# "content",
|
874
|
+
# "Text"
|
875
|
+
# ],
|
876
|
+
# [
|
877
|
+
# "n_likes",
|
878
|
+
# "UInt32"
|
879
|
+
# ]
|
880
|
+
# ],
|
881
|
+
# [
|
882
|
+
# 4,
|
883
|
+
# "Good-bye Senna",
|
884
|
+
# "I migrated all Senna system!",
|
885
|
+
# 3
|
886
|
+
# ],
|
887
|
+
# [
|
888
|
+
# 5,
|
889
|
+
# "Good-bye Tritonn",
|
890
|
+
# "I also migrated all Tritonn system!",
|
891
|
+
# 3
|
892
|
+
# ],
|
893
|
+
# [
|
894
|
+
# 2,
|
895
|
+
# "Groonga",
|
896
|
+
# "I started to use groonga. It's very fast!",
|
897
|
+
# 10
|
898
|
+
# ],
|
899
|
+
# [
|
900
|
+
# 1,
|
901
|
+
# "The first post!",
|
902
|
+
# "Welcome! This is my first post!",
|
903
|
+
# 5
|
904
|
+
# ]
|
905
|
+
# ]
|
906
|
+
# ]
|
907
|
+
# ]
|
908
|
+
</pre></div>
|
909
|
+
</div>
|
910
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is less
|
911
|
+
than or equal to <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
912
|
+
</div>
|
913
|
+
<div class="section" id="greater-than-or-equal-to-condition">
|
914
|
+
<h3>8.8.1.3.12. Greater than or equal to condition<a class="headerlink" href="#greater-than-or-equal-to-condition" title="Permalink to this headline">¶</a></h3>
|
915
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">column:>=value</span></tt>.</p>
|
916
|
+
<p>It matches records that <tt class="docutils literal"><span class="pre">column</span></tt> value is greater than or equal to
|
917
|
+
<tt class="docutils literal"><span class="pre">value</span></tt>.</p>
|
918
|
+
<p>If <tt class="docutils literal"><span class="pre">column</span></tt> type is numerical type such as <tt class="docutils literal"><span class="pre">Int32</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt>
|
919
|
+
value and <tt class="docutils literal"><span class="pre">value</span></tt> are compared as number. If <tt class="docutils literal"><span class="pre">column</span></tt> type is text
|
920
|
+
type such as <tt class="docutils literal"><span class="pre">ShortText</span></tt>, <tt class="docutils literal"><span class="pre">column</span></tt> value and <tt class="docutils literal"><span class="pre">value</span></tt> are
|
921
|
+
compared as bit sequence.</p>
|
922
|
+
<p>It doesn't require the default match columns such as <tt class="docutils literal"><span class="pre">full</span> <span class="pre">text</span>
|
923
|
+
<span class="pre">search</span> <span class="pre">condition</span></tt> and <tt class="docutils literal"><span class="pre">phrase</span> <span class="pre">search</span> <span class="pre">condition</span></tt>.</p>
|
924
|
+
<p>Here is a simple exmaple.</p>
|
925
|
+
<p>Execution example:</p>
|
926
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query n_likes:>=10
|
927
|
+
# [
|
928
|
+
# [
|
929
|
+
# 0,
|
930
|
+
# 1337566253.89858,
|
931
|
+
# 0.000355720520019531
|
932
|
+
# ],
|
933
|
+
# [
|
934
|
+
# [
|
935
|
+
# [
|
936
|
+
# 2
|
937
|
+
# ],
|
938
|
+
# [
|
939
|
+
# [
|
940
|
+
# "_id",
|
941
|
+
# "UInt32"
|
942
|
+
# ],
|
943
|
+
# [
|
944
|
+
# "_key",
|
945
|
+
# "ShortText"
|
946
|
+
# ],
|
947
|
+
# [
|
948
|
+
# "content",
|
949
|
+
# "Text"
|
950
|
+
# ],
|
951
|
+
# [
|
952
|
+
# "n_likes",
|
953
|
+
# "UInt32"
|
954
|
+
# ]
|
955
|
+
# ],
|
956
|
+
# [
|
957
|
+
# 2,
|
958
|
+
# "Groonga",
|
959
|
+
# "I started to use groonga. It's very fast!",
|
960
|
+
# 10
|
961
|
+
# ],
|
962
|
+
# [
|
963
|
+
# 3,
|
964
|
+
# "Mroonga",
|
965
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
966
|
+
# 15
|
967
|
+
# ]
|
968
|
+
# ]
|
969
|
+
# ]
|
970
|
+
# ]
|
971
|
+
</pre></div>
|
972
|
+
</div>
|
973
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is
|
974
|
+
greater than or equal to <tt class="docutils literal"><span class="pre">10</span></tt>.</p>
|
975
|
+
</div>
|
976
|
+
</div>
|
977
|
+
<div class="section" id="combined-expression">
|
978
|
+
<span id="id6"></span><h2>8.8.1.4. Combined expression<a class="headerlink" href="#combined-expression" title="Permalink to this headline">¶</a></h2>
|
979
|
+
<p>Here is available combined expression list.</p>
|
980
|
+
<div class="section" id="logical-or">
|
981
|
+
<h3>8.8.1.4.1. Logical OR<a class="headerlink" href="#logical-or" title="Permalink to this headline">¶</a></h3>
|
982
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></tt>.</p>
|
983
|
+
<p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
|
984
|
+
assignment expressions.</p>
|
985
|
+
<p>If at least one of <tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are matched, <tt class="docutils literal"><span class="pre">a</span> <span class="pre">OR</span> <span class="pre">b</span></tt> is matched.</p>
|
986
|
+
<p>Here is a simple exmaple.</p>
|
987
|
+
<p>Execution example:</p>
|
988
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:>10 OR content:@senna'
|
989
|
+
# [
|
990
|
+
# [
|
991
|
+
# 0,
|
992
|
+
# 1337566253.89858,
|
993
|
+
# 0.000355720520019531
|
994
|
+
# ],
|
995
|
+
# [
|
996
|
+
# [
|
997
|
+
# [
|
998
|
+
# 2
|
999
|
+
# ],
|
1000
|
+
# [
|
1001
|
+
# [
|
1002
|
+
# "_id",
|
1003
|
+
# "UInt32"
|
1004
|
+
# ],
|
1005
|
+
# [
|
1006
|
+
# "_key",
|
1007
|
+
# "ShortText"
|
1008
|
+
# ],
|
1009
|
+
# [
|
1010
|
+
# "content",
|
1011
|
+
# "Text"
|
1012
|
+
# ],
|
1013
|
+
# [
|
1014
|
+
# "n_likes",
|
1015
|
+
# "UInt32"
|
1016
|
+
# ]
|
1017
|
+
# ],
|
1018
|
+
# [
|
1019
|
+
# 3,
|
1020
|
+
# "Mroonga",
|
1021
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
1022
|
+
# 15
|
1023
|
+
# ],
|
1024
|
+
# [
|
1025
|
+
# 4,
|
1026
|
+
# "Good-bye Senna",
|
1027
|
+
# "I migrated all Senna system!",
|
1028
|
+
# 3
|
1029
|
+
# ]
|
1030
|
+
# ]
|
1031
|
+
# ]
|
1032
|
+
# ]
|
1033
|
+
</pre></div>
|
1034
|
+
</div>
|
1035
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is
|
1036
|
+
greater than <tt class="docutils literal"><span class="pre">10</span></tt> or contain a word <tt class="docutils literal"><span class="pre">senna</span></tt> in <tt class="docutils literal"><span class="pre">content</span></tt> column
|
1037
|
+
value.</p>
|
1038
|
+
</div>
|
1039
|
+
<div class="section" id="logical-and">
|
1040
|
+
<h3>8.8.1.4.2. Logical AND<a class="headerlink" href="#logical-and" title="Permalink to this headline">¶</a></h3>
|
1041
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></tt> or just <tt class="docutils literal"><span class="pre">a</span> <span class="pre">b</span></tt>.</p>
|
1042
|
+
<p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
|
1043
|
+
assignment expressions.</p>
|
1044
|
+
<p>If both <tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are matched, <tt class="docutils literal"><span class="pre">a</span> <span class="pre">+</span> <span class="pre">b</span></tt> is matched.</p>
|
1045
|
+
<p>You can specify <tt class="docutils literal"><span class="pre">+</span></tt> the first expression such as <tt class="docutils literal"><span class="pre">+a</span></tt>. The <tt class="docutils literal"><span class="pre">+</span></tt>
|
1046
|
+
is just ignored.</p>
|
1047
|
+
<p>Here is a simple exmaple.</p>
|
1048
|
+
<p>Execution example:</p>
|
1049
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:>=10 + content:@groonga'
|
1050
|
+
# [
|
1051
|
+
# [
|
1052
|
+
# 0,
|
1053
|
+
# 1337566253.89858,
|
1054
|
+
# 0.000355720520019531
|
1055
|
+
# ],
|
1056
|
+
# [
|
1057
|
+
# [
|
1058
|
+
# [
|
1059
|
+
# 1
|
1060
|
+
# ],
|
1061
|
+
# [
|
1062
|
+
# [
|
1063
|
+
# "_id",
|
1064
|
+
# "UInt32"
|
1065
|
+
# ],
|
1066
|
+
# [
|
1067
|
+
# "_key",
|
1068
|
+
# "ShortText"
|
1069
|
+
# ],
|
1070
|
+
# [
|
1071
|
+
# "content",
|
1072
|
+
# "Text"
|
1073
|
+
# ],
|
1074
|
+
# [
|
1075
|
+
# "n_likes",
|
1076
|
+
# "UInt32"
|
1077
|
+
# ]
|
1078
|
+
# ],
|
1079
|
+
# [
|
1080
|
+
# 2,
|
1081
|
+
# "Groonga",
|
1082
|
+
# "I started to use groonga. It's very fast!",
|
1083
|
+
# 10
|
1084
|
+
# ]
|
1085
|
+
# ]
|
1086
|
+
# ]
|
1087
|
+
# ]
|
1088
|
+
</pre></div>
|
1089
|
+
</div>
|
1090
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is
|
1091
|
+
greater than or equal to <tt class="docutils literal"><span class="pre">10</span></tt> and contain a word <tt class="docutils literal"><span class="pre">groonga</span></tt> in
|
1092
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
1093
|
+
</div>
|
1094
|
+
<div class="section" id="logical-not">
|
1095
|
+
<h3>8.8.1.4.3. Logical NOT<a class="headerlink" href="#logical-not" title="Permalink to this headline">¶</a></h3>
|
1096
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></tt>.</p>
|
1097
|
+
<p><tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt> are conditional expressions, conbinded expressions or
|
1098
|
+
assignment expressions.</p>
|
1099
|
+
<p>If <tt class="docutils literal"><span class="pre">a</span></tt> is matched and <tt class="docutils literal"><span class="pre">b</span></tt> is not matched, <tt class="docutils literal"><span class="pre">a</span> <span class="pre">-</span> <span class="pre">b</span></tt> is matched.</p>
|
1100
|
+
<p>You can not specify <tt class="docutils literal"><span class="pre">-</span></tt> the first expression such as <tt class="docutils literal"><span class="pre">-a</span></tt>. It's
|
1101
|
+
syntax error.</p>
|
1102
|
+
<p>Here is a simple exmaple.</p>
|
1103
|
+
<p>Execution example:</p>
|
1104
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:>=10 - content:@groonga'
|
1105
|
+
# [
|
1106
|
+
# [
|
1107
|
+
# 0,
|
1108
|
+
# 1337566253.89858,
|
1109
|
+
# 0.000355720520019531
|
1110
|
+
# ],
|
1111
|
+
# [
|
1112
|
+
# [
|
1113
|
+
# [
|
1114
|
+
# 1
|
1115
|
+
# ],
|
1116
|
+
# [
|
1117
|
+
# [
|
1118
|
+
# "_id",
|
1119
|
+
# "UInt32"
|
1120
|
+
# ],
|
1121
|
+
# [
|
1122
|
+
# "_key",
|
1123
|
+
# "ShortText"
|
1124
|
+
# ],
|
1125
|
+
# [
|
1126
|
+
# "content",
|
1127
|
+
# "Text"
|
1128
|
+
# ],
|
1129
|
+
# [
|
1130
|
+
# "n_likes",
|
1131
|
+
# "UInt32"
|
1132
|
+
# ]
|
1133
|
+
# ],
|
1134
|
+
# [
|
1135
|
+
# 3,
|
1136
|
+
# "Mroonga",
|
1137
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
1138
|
+
# 15
|
1139
|
+
# ]
|
1140
|
+
# ]
|
1141
|
+
# ]
|
1142
|
+
# ]
|
1143
|
+
</pre></div>
|
1144
|
+
</div>
|
1145
|
+
<p>The expression matches records that <tt class="docutils literal"><span class="pre">n_likes</span></tt> column value is
|
1146
|
+
greater than or equal to <tt class="docutils literal"><span class="pre">10</span></tt> and don't contain a word <tt class="docutils literal"><span class="pre">groonga</span></tt> in
|
1147
|
+
<tt class="docutils literal"><span class="pre">content</span></tt> column value.</p>
|
1148
|
+
</div>
|
1149
|
+
<div class="section" id="grouping">
|
1150
|
+
<h3>8.8.1.4.4. Grouping<a class="headerlink" href="#grouping" title="Permalink to this headline">¶</a></h3>
|
1151
|
+
<p>Its syntax is <tt class="docutils literal"><span class="pre">(...)</span></tt>. <tt class="docutils literal"><span class="pre">...</span></tt> is space separated expression list.</p>
|
1152
|
+
<p><tt class="docutils literal"><span class="pre">(...)</span></tt> groups one ore more expressions and they can be
|
1153
|
+
processed as an expression. <tt class="docutils literal"><span class="pre">a</span> <span class="pre">b</span> <span class="pre">OR</span> <span class="pre">c</span></tt> means that <tt class="docutils literal"><span class="pre">a</span></tt> and <tt class="docutils literal"><span class="pre">b</span></tt>
|
1154
|
+
are matched or <tt class="docutils literal"><span class="pre">c</span></tt> is matched. <tt class="docutils literal"><span class="pre">a</span> <span class="pre">(b</span> <span class="pre">OR</span> <span class="pre">c)</span></tt> means that <tt class="docutils literal"><span class="pre">a</span></tt> and
|
1155
|
+
one of <tt class="docutils literal"><span class="pre">b</span></tt> and <tt class="docutils literal"><span class="pre">c</span></tt> are matched.</p>
|
1156
|
+
<p>Here is a simple exmaple.</p>
|
1157
|
+
<p>Execution example:</p>
|
1158
|
+
<div class="highlight-none"><div class="highlight"><pre>select Entries --query 'n_likes:<5 content:@senna OR content:@fast'
|
1159
|
+
# [
|
1160
|
+
# [
|
1161
|
+
# 0,
|
1162
|
+
# 1337566253.89858,
|
1163
|
+
# 0.000355720520019531
|
1164
|
+
# ],
|
1165
|
+
# [
|
1166
|
+
# [
|
1167
|
+
# [
|
1168
|
+
# 3
|
1169
|
+
# ],
|
1170
|
+
# [
|
1171
|
+
# [
|
1172
|
+
# "_id",
|
1173
|
+
# "UInt32"
|
1174
|
+
# ],
|
1175
|
+
# [
|
1176
|
+
# "_key",
|
1177
|
+
# "ShortText"
|
1178
|
+
# ],
|
1179
|
+
# [
|
1180
|
+
# "content",
|
1181
|
+
# "Text"
|
1182
|
+
# ],
|
1183
|
+
# [
|
1184
|
+
# "n_likes",
|
1185
|
+
# "UInt32"
|
1186
|
+
# ]
|
1187
|
+
# ],
|
1188
|
+
# [
|
1189
|
+
# 4,
|
1190
|
+
# "Good-bye Senna",
|
1191
|
+
# "I migrated all Senna system!",
|
1192
|
+
# 3
|
1193
|
+
# ],
|
1194
|
+
# [
|
1195
|
+
# 2,
|
1196
|
+
# "Groonga",
|
1197
|
+
# "I started to use groonga. It's very fast!",
|
1198
|
+
# 10
|
1199
|
+
# ],
|
1200
|
+
# [
|
1201
|
+
# 3,
|
1202
|
+
# "Mroonga",
|
1203
|
+
# "I also started to use mroonga. It's also very fast! Really fast!",
|
1204
|
+
# 15
|
1205
|
+
# ]
|
1206
|
+
# ]
|
1207
|
+
# ]
|
1208
|
+
# ]
|
1209
|
+
select Entries --query 'n_likes:<5 (content:@senna OR content:@fast)'
|
1210
|
+
# [
|
1211
|
+
# [
|
1212
|
+
# 0,
|
1213
|
+
# 1337566253.89858,
|
1214
|
+
# 0.000355720520019531
|
1215
|
+
# ],
|
1216
|
+
# [
|
1217
|
+
# [
|
1218
|
+
# [
|
1219
|
+
# 1
|
1220
|
+
# ],
|
1221
|
+
# [
|
1222
|
+
# [
|
1223
|
+
# "_id",
|
1224
|
+
# "UInt32"
|
1225
|
+
# ],
|
1226
|
+
# [
|
1227
|
+
# "_key",
|
1228
|
+
# "ShortText"
|
1229
|
+
# ],
|
1230
|
+
# [
|
1231
|
+
# "content",
|
1232
|
+
# "Text"
|
1233
|
+
# ],
|
1234
|
+
# [
|
1235
|
+
# "n_likes",
|
1236
|
+
# "UInt32"
|
1237
|
+
# ]
|
1238
|
+
# ],
|
1239
|
+
# [
|
1240
|
+
# 4,
|
1241
|
+
# "Good-bye Senna",
|
1242
|
+
# "I migrated all Senna system!",
|
1243
|
+
# 3
|
1244
|
+
# ]
|
1245
|
+
# ]
|
1246
|
+
# ]
|
1247
|
+
# ]
|
1248
|
+
</pre></div>
|
1249
|
+
</div>
|
1250
|
+
<p>The first expression doesn't use grouping. It matches records that
|
1251
|
+
<tt class="docutils literal"><span class="pre">n_likes:<5</span></tt> and <tt class="docutils literal"><span class="pre">content:@senna</span></tt> are matched or
|
1252
|
+
<tt class="docutils literal"><span class="pre">content:@fast</span></tt> is matched.</p>
|
1253
|
+
<p>The second expression uses grouping. It matches records that
|
1254
|
+
<tt class="docutils literal"><span class="pre">n_likes:<5</span></tt> and one of <tt class="docutils literal"><span class="pre">content:@senna</span></tt> or <tt class="docutils literal"><span class="pre">content:@fast</span></tt>
|
1255
|
+
are matched.</p>
|
1256
|
+
</div>
|
1257
|
+
</div>
|
1258
|
+
<div class="section" id="assignment-expression">
|
1259
|
+
<h2>8.8.1.5. Assignment expression<a class="headerlink" href="#assignment-expression" title="Permalink to this headline">¶</a></h2>
|
1260
|
+
<p>This section is for advanced users. Because assignment expression is
|
1261
|
+
disabled in <tt class="docutils literal"><span class="pre">--query</span></tt> option of <a class="reference internal" href="../commands/select.html"><em>select</em></a> by
|
1262
|
+
default. You need to specify <tt class="docutils literal"><span class="pre">ALLOW_COLUMN|ALLOW_UPDATE</span></tt> as
|
1263
|
+
<tt class="docutils literal"><span class="pre">--query_flags</span></tt> option value to enable assignment expression.</p>
|
1264
|
+
<p>Assignment expression in query syntax has some limitations. So you
|
1265
|
+
should use <a class="reference internal" href="script_syntax.html"><em>Script syntax</em></a> instead of query syntax for
|
1266
|
+
assignment.</p>
|
1267
|
+
<p>There is only one syntax for assignment expression. It's <tt class="docutils literal"><span class="pre">column:=value</span></tt>.</p>
|
1268
|
+
<p><tt class="docutils literal"><span class="pre">value</span></tt> is assigend to <tt class="docutils literal"><span class="pre">column</span></tt>. <tt class="docutils literal"><span class="pre">value</span></tt> is always processed as
|
1269
|
+
string in query syntax. <tt class="docutils literal"><span class="pre">value</span></tt> is casted to the type of <tt class="docutils literal"><span class="pre">column</span></tt>
|
1270
|
+
automatically. It causes some limitations. For example, you cannot use
|
1271
|
+
boolean literal such as <tt class="docutils literal"><span class="pre">true</span></tt> and <tt class="docutils literal"><span class="pre">false</span></tt> for <tt class="docutils literal"><span class="pre">Bool</span></tt> type
|
1272
|
+
column. You need to use empty string for <tt class="docutils literal"><span class="pre">false</span></tt> but query syntax
|
1273
|
+
doesn't support <tt class="docutils literal"><span class="pre">column:=</span></tt> syntax.</p>
|
1274
|
+
<p>See <a class="reference internal" href="../cast.html"><em>Cast</em></a> about cast.</p>
|
1275
|
+
</div>
|
1276
|
+
</div>
|
1277
|
+
|
1278
|
+
|
1279
|
+
</div>
|
1280
|
+
</div>
|
1281
|
+
</div>
|
1282
|
+
<div class="sphinxsidebar">
|
1283
|
+
<div class="sphinxsidebarwrapper">
|
1284
|
+
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
1285
|
+
<ul>
|
1286
|
+
<li><a class="reference internal" href="#">8.8.1. Query syntax</a><ul>
|
1287
|
+
<li><a class="reference internal" href="#sample-data">8.8.1.1. Sample data</a></li>
|
1288
|
+
<li><a class="reference internal" href="#escape">8.8.1.2. Escape</a></li>
|
1289
|
+
<li><a class="reference internal" href="#conditional-expression">8.8.1.3. Conditional expression</a><ul>
|
1290
|
+
<li><a class="reference internal" href="#full-text-search-condition">8.8.1.3.1. Full text search condition</a></li>
|
1291
|
+
<li><a class="reference internal" href="#phrase-search-condition">8.8.1.3.2. Phrase search condition</a></li>
|
1292
|
+
<li><a class="reference internal" href="#full-text-search-condition-with-explicit-match-column">8.8.1.3.3. Full text search condition (with explicit match column)</a></li>
|
1293
|
+
<li><a class="reference internal" href="#phrase-search-condition-with-explicit-match-column">8.8.1.3.4. Phrase search condition (with explicit match column)</a></li>
|
1294
|
+
<li><a class="reference internal" href="#prefix-search-condition">8.8.1.3.5. Prefix search condition</a></li>
|
1295
|
+
<li><a class="reference internal" href="#suffix-search-condition">8.8.1.3.6. Suffix search condition</a></li>
|
1296
|
+
<li><a class="reference internal" href="#equal-condition">8.8.1.3.7. Equal condition</a></li>
|
1297
|
+
<li><a class="reference internal" href="#not-equal-condition">8.8.1.3.8. Not equal condition</a></li>
|
1298
|
+
<li><a class="reference internal" href="#less-than-condition">8.8.1.3.9. Less than condition</a></li>
|
1299
|
+
<li><a class="reference internal" href="#greater-than-condition">8.8.1.3.10. Greater than condition</a></li>
|
1300
|
+
<li><a class="reference internal" href="#less-than-or-equal-to-condition">8.8.1.3.11. Less than or equal to condition</a></li>
|
1301
|
+
<li><a class="reference internal" href="#greater-than-or-equal-to-condition">8.8.1.3.12. Greater than or equal to condition</a></li>
|
1302
|
+
</ul>
|
1303
|
+
</li>
|
1304
|
+
<li><a class="reference internal" href="#combined-expression">8.8.1.4. Combined expression</a><ul>
|
1305
|
+
<li><a class="reference internal" href="#logical-or">8.8.1.4.1. Logical OR</a></li>
|
1306
|
+
<li><a class="reference internal" href="#logical-and">8.8.1.4.2. Logical AND</a></li>
|
1307
|
+
<li><a class="reference internal" href="#logical-not">8.8.1.4.3. Logical NOT</a></li>
|
1308
|
+
<li><a class="reference internal" href="#grouping">8.8.1.4.4. Grouping</a></li>
|
1309
|
+
</ul>
|
1310
|
+
</li>
|
1311
|
+
<li><a class="reference internal" href="#assignment-expression">8.8.1.5. Assignment expression</a></li>
|
1312
|
+
</ul>
|
1313
|
+
</li>
|
1314
|
+
</ul>
|
1315
|
+
|
1316
|
+
<h4>Previous topic</h4>
|
1317
|
+
<p class="topless"><a href="../grn_expr.html"
|
1318
|
+
title="previous chapter">8.8. grn_expr</a></p>
|
1319
|
+
<h4>Next topic</h4>
|
1320
|
+
<p class="topless"><a href="script_syntax.html"
|
1321
|
+
title="next chapter">8.8.2. Script syntax</a></p>
|
1322
|
+
<h3>This Page</h3>
|
1323
|
+
<ul class="this-page-menu">
|
1324
|
+
<li><a href="../../_sources/reference/grn_expr/query_syntax.txt"
|
1325
|
+
rel="nofollow">Show Source</a></li>
|
1326
|
+
</ul>
|
1327
|
+
<div id="searchbox" style="display: none">
|
1328
|
+
<h3>Quick search</h3>
|
1329
|
+
<form class="search" action="../../search.html" method="get">
|
1330
|
+
<input type="text" name="q" />
|
1331
|
+
<input type="submit" value="Go" />
|
1332
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
1333
|
+
<input type="hidden" name="area" value="default" />
|
1334
|
+
</form>
|
1335
|
+
<p class="searchtip" style="font-size: 90%">
|
1336
|
+
Enter search terms or a module, class or function name.
|
1337
|
+
</p>
|
1338
|
+
</div>
|
1339
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
1340
|
+
</div>
|
1341
|
+
</div>
|
1342
|
+
<div class="clearer"></div>
|
1343
|
+
</div>
|
1344
|
+
<div class="related">
|
1345
|
+
<h3>Navigation</h3>
|
1346
|
+
<ul>
|
1347
|
+
<li class="right" style="margin-right: 10px">
|
1348
|
+
<a href="../../genindex.html" title="General Index"
|
1349
|
+
>index</a></li>
|
1350
|
+
<li class="right" >
|
1351
|
+
<a href="script_syntax.html" title="8.8.2. Script syntax"
|
1352
|
+
>next</a> |</li>
|
1353
|
+
<li class="right" >
|
1354
|
+
<a href="../grn_expr.html" title="8.8. grn_expr"
|
1355
|
+
>previous</a> |</li>
|
1356
|
+
<li><a href="../../index.html">groonga v2.0.5-316-g23cc017 documentation</a> »</li>
|
1357
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
1358
|
+
<li><a href="../grn_expr.html" >8.8. grn_expr</a> »</li>
|
1359
|
+
</ul>
|
1360
|
+
</div>
|
1361
|
+
<div class="footer">
|
1362
|
+
© Copyright 2009-2012, Brazil, Inc.
|
1363
|
+
</div>
|
1364
|
+
</body>
|
1365
|
+
</html>
|