rroonga 2.0.4-x86-mingw32 → 2.0.7-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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,892 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-command
|
6
|
+
.. database: commands_select
|
7
|
+
|
8
|
+
select
|
9
|
+
======
|
10
|
+
|
11
|
+
Summary
|
12
|
+
-------
|
13
|
+
|
14
|
+
``select`` searches records that are matched to specified conditions
|
15
|
+
from a table and then outputs them.
|
16
|
+
|
17
|
+
``select`` is the most important command in groonga. You need to
|
18
|
+
understand ``select`` to use the full power of groonga.
|
19
|
+
|
20
|
+
Syntax
|
21
|
+
------
|
22
|
+
|
23
|
+
``select`` has many parameters. The required parameter is only
|
24
|
+
``table`` and others are optional::
|
25
|
+
|
26
|
+
select table
|
27
|
+
[match_columns=null]
|
28
|
+
[query=null]
|
29
|
+
[filter=null]
|
30
|
+
[scorer=null]
|
31
|
+
[sortby=null]
|
32
|
+
[output_columns="_id, _key, *"]
|
33
|
+
[offset=0]
|
34
|
+
[limit=10]
|
35
|
+
[drilldown=null]
|
36
|
+
[drilldown_sortby=null]
|
37
|
+
[drilldown_output_columns=null]
|
38
|
+
[drilldown_offset=0]
|
39
|
+
[drilldown_limit=10]
|
40
|
+
[cache=yes]
|
41
|
+
[match_escalation_threshold=0]
|
42
|
+
[query_expansion=null]
|
43
|
+
[query_flags=ALLOW_PRAGMA|ALLOW_COLUMN|ALLOW_UPDATE|ALLOW_LEADING_NOT|NONE]
|
44
|
+
|
45
|
+
Usage
|
46
|
+
-----
|
47
|
+
|
48
|
+
Let's learn about ``select`` usage with examples. This section shows
|
49
|
+
many popular usages.
|
50
|
+
|
51
|
+
Here are a schema definition and sample data to show usage.
|
52
|
+
|
53
|
+
.. groonga-command
|
54
|
+
.. include:: ../../example/reference/commands/select/usage_setup.log
|
55
|
+
.. table_create Entries TABLE_HASH_KEY ShortText
|
56
|
+
.. column_create Entries content COLUMN_SCALAR Text
|
57
|
+
.. column_create Entries n_likes COLUMN_SCALAR UInt32
|
58
|
+
.. table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
59
|
+
.. column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
|
60
|
+
.. column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
|
61
|
+
.. load --table Entries
|
62
|
+
.. [
|
63
|
+
.. {"_key": "The first post!",
|
64
|
+
.. "content": "Welcome! This is my first post!",
|
65
|
+
.. "n_likes": 5},
|
66
|
+
.. {"_key": "Groonga",
|
67
|
+
.. "content": "I started to use groonga. It's very fast!",
|
68
|
+
.. "n_likes": 10},
|
69
|
+
.. {"_key": "Mroonga",
|
70
|
+
.. "content": "I also started to use mroonga. It's also very fast! Really fast!",
|
71
|
+
.. "n_likes": 15},
|
72
|
+
.. {"_key": "Good-bye Senna",
|
73
|
+
.. "content": "I migrated all Senna system!",
|
74
|
+
.. "n_likes": 3},
|
75
|
+
.. {"_key": "Good-bye Tritonn",
|
76
|
+
.. "content": "I also migrated all Tritonn system!",
|
77
|
+
.. "n_likes": 3}
|
78
|
+
.. ]
|
79
|
+
|
80
|
+
There is a table, ``Entries``, for blog entries. An entry has title,
|
81
|
+
content and the number of likes for the entry. Title is key of
|
82
|
+
``Entries``. Content is value of ``Entries.content`` column. The
|
83
|
+
number of likes is value of ``Entries.n_likes`` column.
|
84
|
+
|
85
|
+
``Entries._key`` column and ``Entries.content`` column are indexed
|
86
|
+
using ``TokenBigram`` tokenizer. So both ``Entries._key`` and
|
87
|
+
``Entries.content`` are fulltext search ready.
|
88
|
+
|
89
|
+
OK. The schema and data for examples are ready.
|
90
|
+
|
91
|
+
Simple usage
|
92
|
+
^^^^^^^^^^^^
|
93
|
+
|
94
|
+
Here is the most simple usage with the above schema and data. It outputs
|
95
|
+
all records in ``Entries`` table.
|
96
|
+
|
97
|
+
.. groonga-command
|
98
|
+
.. include:: ../../example/reference/commands/select/simple_usage.log
|
99
|
+
.. select Entries
|
100
|
+
|
101
|
+
Why does the command output all records? There are two reasons. The
|
102
|
+
first reason is that the command doesn't specify any search
|
103
|
+
conditions. No search condition means all records are matched. The
|
104
|
+
second reason is that the number of all records is 5. ``select``
|
105
|
+
command outputs 10 records at a maximum by default. There are only 5
|
106
|
+
records. It is less than 10. So the command outputs all records.
|
107
|
+
|
108
|
+
Search conditions
|
109
|
+
^^^^^^^^^^^^^^^^^
|
110
|
+
|
111
|
+
Search conditions are specified by ``query`` or ``filter``. You can
|
112
|
+
also specify both ``query`` and ``filter``. It means that selected
|
113
|
+
records must be matched against both ``query`` and ``filter``.
|
114
|
+
|
115
|
+
Search condition: ``query``
|
116
|
+
"""""""""""""""""""""""""""
|
117
|
+
|
118
|
+
``query`` is designed for search box in Web page. Imagine a search box
|
119
|
+
in google.com. You specify search conditions for ``query`` as space
|
120
|
+
separated keywords. For example, ``search engine`` means a matched
|
121
|
+
record should contain two words, ``search`` and ``engine``.
|
122
|
+
|
123
|
+
Normally, ``query`` parameter is used for specifying fulltext search
|
124
|
+
conditions. It can be used for non fulltext search conditions but
|
125
|
+
``filter`` is used for the propose.
|
126
|
+
|
127
|
+
``query`` parameter is used with ``match_columns`` parameter when
|
128
|
+
``query`` parameter is used for specifying fulltext search
|
129
|
+
conditions. ``match_columns`` specifies which columnes and indexes are
|
130
|
+
matched against ``query``.
|
131
|
+
|
132
|
+
Here is a simple ``query`` usage example.
|
133
|
+
|
134
|
+
.. groonga-command
|
135
|
+
.. include:: ../../example/reference/commands/select/simple_query.log
|
136
|
+
.. select Entries --match_columns content --query fast
|
137
|
+
|
138
|
+
The ``select`` command searches records that contain a word ``fast``
|
139
|
+
in ``content`` column value from ``Entries`` table.
|
140
|
+
|
141
|
+
``query`` has query syntax but its deatils aren't described here. See
|
142
|
+
:doc:`/reference/grn_expr/query_syntax` for datails.
|
143
|
+
|
144
|
+
Search condition: ``filter``
|
145
|
+
""""""""""""""""""""""""""""
|
146
|
+
|
147
|
+
``filter`` is designed for complex search conditions. You specify
|
148
|
+
search conditions for ``filter`` as ECMAScript like syntax.
|
149
|
+
|
150
|
+
Here is a simple ``filter`` usage example.
|
151
|
+
|
152
|
+
.. groonga-command
|
153
|
+
.. include:: ../../example/reference/commands/select/simple_filter.log
|
154
|
+
.. select Entries --filter 'content @ "fast" && _key == "Groonga"'
|
155
|
+
|
156
|
+
The ``select`` command searches records that contain a word ``fast``
|
157
|
+
in ``content`` column value and has ``Groonga`` as ``_key`` from
|
158
|
+
``Entries`` table. There are three operators in the command, ``@``,
|
159
|
+
``&&`` and ``==``. ``@`` is fulltext search operator. ``&&`` and
|
160
|
+
``==`` are the same as ECMAScript. ``&&`` is logical AND operator and
|
161
|
+
``==`` is equality operator.
|
162
|
+
|
163
|
+
``filter`` has more operators and syntax like grouping by ``(...)``
|
164
|
+
its deatils aren't described here. See :doc:`/reference/grn_expr/script_syntax` for
|
165
|
+
datails.
|
166
|
+
|
167
|
+
Paging
|
168
|
+
^^^^^^
|
169
|
+
|
170
|
+
You can specify range of outputted records by ``offset`` and ``limit``.
|
171
|
+
Here is an example to output only the 2nd record.
|
172
|
+
|
173
|
+
.. groonga-command
|
174
|
+
.. include:: ../../example/reference/commands/select/paging.log
|
175
|
+
.. select Entries --offset 1 --limit 1
|
176
|
+
|
177
|
+
``offset`` is zero-origin. ``--offset 1`` means output range is
|
178
|
+
started from the 2nd record.
|
179
|
+
|
180
|
+
``limit`` specifies the max number of output records. ``--limit 1``
|
181
|
+
means the number of output records is 1 at a maximium. If no records
|
182
|
+
are matched, ``select`` command outputs no records.
|
183
|
+
|
184
|
+
The total number of records
|
185
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
186
|
+
|
187
|
+
You can use ``--limit 0`` to retrieve the total number of recrods
|
188
|
+
without any contents of records.
|
189
|
+
|
190
|
+
.. groonga-command
|
191
|
+
.. include:: ../../example/reference/commands/select/no_limit.log
|
192
|
+
.. select Entries --limit 0
|
193
|
+
|
194
|
+
``--limit 0`` is also useful for retrieving only the number of matched
|
195
|
+
records.
|
196
|
+
|
197
|
+
Parameters
|
198
|
+
----------
|
199
|
+
|
200
|
+
This section describes all parameters. Parameters are categorized.
|
201
|
+
|
202
|
+
Required parameter
|
203
|
+
^^^^^^^^^^^^^^^^^^
|
204
|
+
|
205
|
+
There is a required parameter, ``table``.
|
206
|
+
|
207
|
+
``table``
|
208
|
+
"""""""""
|
209
|
+
|
210
|
+
It specifies a table to be searched. ``table`` must be specified.
|
211
|
+
|
212
|
+
If nonexistent table is specified, an error is returned.
|
213
|
+
|
214
|
+
.. groonga-command
|
215
|
+
.. include:: ../../example/reference/commands/select/table_nonexistent.log
|
216
|
+
.. select Nonexistent
|
217
|
+
|
218
|
+
Search related parameters
|
219
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^
|
220
|
+
|
221
|
+
There are search related parameters. Typically, ``match_columns`` and
|
222
|
+
``query`` parameters are used for implementing a search
|
223
|
+
box. ``filter`` parameters is used for implementing complex search
|
224
|
+
feature.
|
225
|
+
|
226
|
+
If both ``query`` and ``filter`` are specified, selected records must
|
227
|
+
be matched against both ``query`` and ``filter``. If both ``query``
|
228
|
+
and ``filter`` aren't specified, all records are selected.
|
229
|
+
|
230
|
+
``match_columns``
|
231
|
+
"""""""""""""""""
|
232
|
+
|
233
|
+
It specifies the default target column for fulltext search by
|
234
|
+
``query`` parameter value. A target column for fulltext search can be
|
235
|
+
specified in ``query`` parameter. The difference between
|
236
|
+
``match_columns`` and ``query`` is whether weight is supported or
|
237
|
+
not. ``match_columns`` supports weight but ``query`` doesn't.
|
238
|
+
|
239
|
+
Weight is relative importance of target column. A higher weight target
|
240
|
+
column gets more hit score rather than a lower weight target column
|
241
|
+
when a record is matched by fulltext search. The default weight is 1.
|
242
|
+
|
243
|
+
Here is a simple ``match_columns`` usage example.
|
244
|
+
|
245
|
+
.. groonga-command
|
246
|
+
.. include:: ../../example/reference/commands/select/match_columns_simple.log
|
247
|
+
.. select Entries --match_columns content --query fast --output_columns '_key, _score'
|
248
|
+
|
249
|
+
``--match_columns content`` means the default target column for
|
250
|
+
fulltext search is ``content`` column and its weight
|
251
|
+
is 1. ``--output_columns '_key, _score'`` means that the ``select``
|
252
|
+
command outputs ``_key`` value and ``_score`` value for matched
|
253
|
+
records.
|
254
|
+
|
255
|
+
Pay attention to ``_score`` value. ``_score`` value is the number of
|
256
|
+
matched counts against ``query`` parameter value. In the example,
|
257
|
+
``query`` parameter value is ``fast``. The fact that ``_score`` value
|
258
|
+
is 1 means that ``fast`` appers in ``content`` column only once. The
|
259
|
+
fact that ``_score`` value is 2 means that ``fast`` appears in
|
260
|
+
``content`` column twice.
|
261
|
+
|
262
|
+
To specify weight, ``column * weight`` syntax is used. Here is a
|
263
|
+
weight usage example.
|
264
|
+
|
265
|
+
.. groonga-command
|
266
|
+
.. include:: ../../example/reference/commands/select/match_columns_weight.log
|
267
|
+
.. select Entries --match_columns 'content * 2' --query fast --output_columns '_key, _score'
|
268
|
+
|
269
|
+
``--match_columns 'content * 2'`` means the default target column for
|
270
|
+
fulltext search is ``content`` column and its weight is 2.
|
271
|
+
|
272
|
+
Pay attention to ``_score`` value. ``_score`` value is doubled because
|
273
|
+
weight is 2.
|
274
|
+
|
275
|
+
You can specify one or more columns as the default target columns for
|
276
|
+
fulltext search. If one or more columns are specified, fulltext search
|
277
|
+
is done for all columns and scores are accumulated. If one of the
|
278
|
+
columns is matched against ``query`` parameter value, the record is
|
279
|
+
treated as matched.
|
280
|
+
|
281
|
+
To specify one or more columns, ``column1 * weight1 || column2 *
|
282
|
+
weight2 || ...`` syntax is used. ``* weight`` can be omitted. If it is
|
283
|
+
omitted, 1 is used for weight. Here is a one or more columns usage
|
284
|
+
example.
|
285
|
+
|
286
|
+
.. groonga-command
|
287
|
+
.. include:: ../../example/reference/commands/select/match_columns_some_columns.log
|
288
|
+
.. select Entries --match_columns '_key * 10 || content' --query groonga --output_columns '_key, _score'
|
289
|
+
|
290
|
+
``--match_columns '_key * 10 || content'`` means the default target
|
291
|
+
columns for fulltext search are ``_key`` and ``content`` columns and
|
292
|
+
``_key`` column's weight is 10 and ``content`` column's weight
|
293
|
+
is 1. This weight allocation means ``_key`` column value is more
|
294
|
+
important rather than ``content`` column value. In this example, title
|
295
|
+
of blog entry is more important rather thatn content of blog entry.
|
296
|
+
|
297
|
+
``query``
|
298
|
+
"""""""""
|
299
|
+
|
300
|
+
It specifies the query text. Normally, it is used for fulltext search
|
301
|
+
with ``match_columns`` parameter. ``query`` parameter is designed for
|
302
|
+
a fulltext search form in a Web page. A query text should be formatted
|
303
|
+
in :doc:`/reference/grn_expr/query_syntax`. The syntax is similar to common search
|
304
|
+
form like Google's search form. For example, ``word1 word2`` means
|
305
|
+
that groonga searches records that contain both ``word1`` and
|
306
|
+
``word2``. ``word1 OR word2`` means that groogna searches records that
|
307
|
+
contain either ``word1`` or ``word2``.
|
308
|
+
|
309
|
+
Here is a simple logical and search example.
|
310
|
+
|
311
|
+
.. groonga-command
|
312
|
+
.. include:: ../../example/reference/commands/select/query_and.log
|
313
|
+
.. select Entries --match_columns content --query "fast groonga"
|
314
|
+
|
315
|
+
The ``select`` command searches records that contain two words
|
316
|
+
``fast`` and ``groonga`` in ``content`` column value from ``Entries``
|
317
|
+
table.
|
318
|
+
|
319
|
+
Here is a simple logical or search example.
|
320
|
+
|
321
|
+
.. groonga-command
|
322
|
+
.. include:: ../../example/reference/commands/select/query_or.log
|
323
|
+
.. select Entries --match_columns content --query "groonga OR mroonga"
|
324
|
+
|
325
|
+
The ``select`` command searches records that contain one of two words
|
326
|
+
``groonga`` or ``mroonga`` in ``content`` column value from
|
327
|
+
``Entries`` table.
|
328
|
+
|
329
|
+
See :doc:`/reference/grn_expr/query_syntax` for other syntax.
|
330
|
+
|
331
|
+
It can be used for not only fulltext search but also other
|
332
|
+
conditions. For example, ``column:value`` means the value of
|
333
|
+
``column`` column is equal to ``value``. ``column:<value`` means the
|
334
|
+
value of ``column`` column is less than ``value``.
|
335
|
+
|
336
|
+
Here is a simple equality operator search example.
|
337
|
+
|
338
|
+
.. groonga-command
|
339
|
+
.. include:: ../../example/reference/commands/select/query_equal.log
|
340
|
+
.. select Entries --query _key:Groonga
|
341
|
+
|
342
|
+
The ``select`` command searches records that ``_key`` column value is
|
343
|
+
``Groonga`` from ``Entries`` table.
|
344
|
+
|
345
|
+
Here is a simple less than operator search example.
|
346
|
+
|
347
|
+
.. groonga-command
|
348
|
+
.. include:: ../../example/reference/commands/select/query_less_than.log
|
349
|
+
.. select Entries --query n_likes:<11
|
350
|
+
|
351
|
+
The ``select`` command searches records that ``n_likes`` column value
|
352
|
+
is less than ``11`` from ``Entries`` table.
|
353
|
+
|
354
|
+
See :doc:`/reference/grn_expr/query_syntax` for other operations.
|
355
|
+
|
356
|
+
``filter``
|
357
|
+
""""""""""
|
358
|
+
|
359
|
+
It specifies the filter text. Normally, it is used for complex search
|
360
|
+
conditions. ``filter`` can be used with ``query`` parameter. If both
|
361
|
+
``filter`` and ``query`` are specified, there are conbined with
|
362
|
+
logical and. It means that matched records should be matched against
|
363
|
+
both ``filter`` and ``query``.
|
364
|
+
|
365
|
+
``filter`` parameter is designed for complex conditions. A filter text
|
366
|
+
should be formated in :doc:`/reference/grn_expr/script_syntax`. The syntax is
|
367
|
+
similar to ECMAScript. For example, ``column == "value"`` means that
|
368
|
+
the value of ``column`` column is equal to ``"value"``. ``column <
|
369
|
+
value`` means that the value of ``column`` column is less than
|
370
|
+
``value``.
|
371
|
+
|
372
|
+
Here is a simple equality operator search example.
|
373
|
+
|
374
|
+
.. groonga-command
|
375
|
+
.. include:: ../../example/reference/commands/select/filter_equal.log
|
376
|
+
.. select Entries --filter '_key == "Groonga"'
|
377
|
+
|
378
|
+
The ``select`` command searches records that ``_key`` column value is
|
379
|
+
``Groonga`` from ``Entries`` table.
|
380
|
+
|
381
|
+
Here is a simple less than operator search example.
|
382
|
+
|
383
|
+
.. groonga-command
|
384
|
+
.. include:: ../../example/reference/commands/select/filter_less_than.log
|
385
|
+
.. select Entries --filter 'n_likes < 11'
|
386
|
+
|
387
|
+
The ``select`` command searches records that ``n_likes`` column value
|
388
|
+
is less than ``11`` from ``Entries`` table.
|
389
|
+
|
390
|
+
See :doc:`/reference/grn_expr/script_syntax` for other operators.
|
391
|
+
|
392
|
+
Advanced search parameters
|
393
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
394
|
+
|
395
|
+
.. _match-escalation-threshold:
|
396
|
+
|
397
|
+
``match_escalation_threshold``
|
398
|
+
""""""""""""""""""""""""""""""
|
399
|
+
|
400
|
+
It specifies threshold to determine whether search storategy
|
401
|
+
escalation is used or not. The threshold is compared against the
|
402
|
+
number of matched records. If the number of matched records is equal
|
403
|
+
to or less than the threshold, the search storategy escalation is
|
404
|
+
used. See :doc:`/spec/search` about the search storategy escalation.
|
405
|
+
|
406
|
+
The default threshold is 0. It means that search storategy escalation
|
407
|
+
is used only when no records are matched.
|
408
|
+
|
409
|
+
The default threshold can be customized by one of the followings.
|
410
|
+
|
411
|
+
* ``--with-match-escalation-threshold`` option of configure
|
412
|
+
* ``--match-escalation-threshold`` option of groogna command
|
413
|
+
* ``match-escalation-threshold`` configuration item in configuration
|
414
|
+
file
|
415
|
+
|
416
|
+
Here is a simple ``match_escalation_threshold`` usage example. The
|
417
|
+
first ``select`` doesn't have ``match_escalation_threshold``
|
418
|
+
parameter. The second ``select`` has ``match_escalation_threshold``
|
419
|
+
parameter.
|
420
|
+
|
421
|
+
.. groonga-command
|
422
|
+
.. include:: ../../example/reference/commands/select/match_escalation_threshold.log
|
423
|
+
.. select Entries --match_columns content --query groo
|
424
|
+
.. select Entries --match_columns content --query groo --match_escalation_threshold -1
|
425
|
+
|
426
|
+
The first ``select`` command searches records that contain a word
|
427
|
+
``groo`` in ``content`` column value from ``Entries`` table. But no
|
428
|
+
records are matched because the ``TokenBigram`` tokenizer tokenizes
|
429
|
+
``groonga`` to ``groonga`` not ``gr|ro|oo|on|ng|ga``. (The
|
430
|
+
``TokenBigramSplitSymbolAlpha`` tokenizer tokenizes ``groonga`` to
|
431
|
+
``gr|ro|oo|on|ng|ga``. See :doc:`/reference/tokenizers` for details.)
|
432
|
+
It means that ``groonga`` is indexed but ``groo`` isn't indexed. So no
|
433
|
+
records are matched against ``groo`` by exact match. In the case, the
|
434
|
+
search storategy escalation is used because the number of matched
|
435
|
+
records (0) is equal to ``match_escalation_threshold`` (0). One record
|
436
|
+
is matched against ``groo`` by unsplit search.
|
437
|
+
|
438
|
+
The second ``select`` command also searches records that contain a
|
439
|
+
word ``groo`` in ``content`` column value from ``Entries`` table. And
|
440
|
+
it also doesn't found matched records. In this case, the search
|
441
|
+
storategy escalation is not used because the number of matched
|
442
|
+
records (0) is larger than ``match_escalation_threshold`` (-1). So no
|
443
|
+
more searches aren't executed. And no records are matched.
|
444
|
+
|
445
|
+
``query_expansion``
|
446
|
+
"""""""""""""""""""
|
447
|
+
|
448
|
+
It's for query expansion. Query expansion substitutes specific words
|
449
|
+
to another words in query. Nomally, it's used for synonym search.
|
450
|
+
|
451
|
+
It specifies a column that is used to substitute ``query`` parameter
|
452
|
+
value. The format of this parameter value is
|
453
|
+
"``${TABLE}.${COLUMN}``". For example, "``Terms.synonym``" specifies
|
454
|
+
``synonym`` column in ``Terms`` table.
|
455
|
+
|
456
|
+
Table for query expansion is called "substitution table". Substitution
|
457
|
+
table's key must be ``ShortText``. So array table (``TABLE_NO_KEY``)
|
458
|
+
can't be used for query expansion. Because array table doesn't have
|
459
|
+
key.
|
460
|
+
|
461
|
+
Column for query expansion is called "substitution
|
462
|
+
column". Substitution column's value type must be
|
463
|
+
``ShortText``. Column type must be vector (``COLUMN_VECTOR``).
|
464
|
+
|
465
|
+
Query expansion substitutes key of substitution table in query with
|
466
|
+
values in substitution column. If a word in ``query`` is a key of
|
467
|
+
substitution table, the word is substituted with substitution column
|
468
|
+
value that is associated with the key. Substition isn't performed
|
469
|
+
recursively. It means that substitution target words in substituted
|
470
|
+
query aren't substituted.
|
471
|
+
|
472
|
+
Here is a sample substitution table to show a simple
|
473
|
+
``query_expansion`` usage example.
|
474
|
+
|
475
|
+
.. groonga-command
|
476
|
+
.. include:: ../../example/reference/commands/select/query_expansion_substitution_table.log
|
477
|
+
.. table_create Thesaurus TABLE_PAT_KEY|KEY_NORMALIZE ShortText
|
478
|
+
.. column_create Thesaurus synonym COLUMN_VECTOR ShortText
|
479
|
+
.. load --table Thesaurus
|
480
|
+
.. [
|
481
|
+
.. {"_key": "mroonga", "synonym": ["mroonga", "tritonn", "groonga mysql"]},
|
482
|
+
.. {"_key": "groonga", "synonym": ["groonga", "senna"]}
|
483
|
+
.. ]
|
484
|
+
|
485
|
+
``Thesaurus`` substitution table has two synonyms, ``"mroonga"`` and
|
486
|
+
``"groonga"``. If an user searches with ``"mroonga"``, groonga
|
487
|
+
searches with ``"((mroonga) OR (tritonn) OR (groonga mysql))"``. If an
|
488
|
+
user searches with ``"groonga"``, groonga searchs with ``"((groonga)
|
489
|
+
OR (senna))"``. Nomrally, it's good idea that substitution table has
|
490
|
+
``KEY_NORMALIZE`` flag. If the flag is used, substitute target word is
|
491
|
+
matched in case insensitive manner.
|
492
|
+
|
493
|
+
Note that those synonym values include the key value such as
|
494
|
+
``"mroonga"`` and ``"groonga"``. It's recommended that you include the
|
495
|
+
key value. If you don't include key value, substituted value doesn't
|
496
|
+
include the original substitute target value. Normally, including the
|
497
|
+
original value is better search result. If you have a word that you
|
498
|
+
don't want to be searched, you should not include the original
|
499
|
+
word. For example, you can implement "stop words" by an empty vector
|
500
|
+
value.
|
501
|
+
|
502
|
+
Here is a simple ``query_expansion`` usage example.
|
503
|
+
|
504
|
+
.. groonga-command
|
505
|
+
.. include:: ../../example/reference/commands/select/query_expansion_substitute.log
|
506
|
+
.. select Entries --match_columns content --query "mroonga"
|
507
|
+
.. select Entries --match_columns content --query "mroonga" --query_expansion Thesaurus.synonym
|
508
|
+
.. select Entries --match_columns content --query "((mroonga) OR (tritonn) OR (groonga mysql))"
|
509
|
+
|
510
|
+
The first ``select`` command doesn't use query expansion. So a record
|
511
|
+
that has ``"tritonn"`` isn't found. The second ``select`` command uses
|
512
|
+
query expansion. So a record that has ``"tritonn"`` is found. The
|
513
|
+
third ``select`` command doesn't use query expansion but it is same as
|
514
|
+
the second ``select`` command. The third one uses expanded query.
|
515
|
+
|
516
|
+
Each substitute value can contain any :doc:`/reference/grn_expr/query_syntax` syntax
|
517
|
+
such as ``(...)`` and ``OR``. You can use complex substitution by
|
518
|
+
using those syntax.
|
519
|
+
|
520
|
+
Here is a complex substitution usage example that uses query syntax.
|
521
|
+
|
522
|
+
.. groonga-command
|
523
|
+
.. include:: ../../example/reference/commands/select/query_expansion_complex.log
|
524
|
+
.. load --table Thesaurus
|
525
|
+
.. [
|
526
|
+
.. {"_key": "popular", "synonym": ["popular", "n_likes:>=10"]}
|
527
|
+
.. ]
|
528
|
+
.. select Entries --match_columns content --query "popular" --query_expansion Thesaurus.synonym
|
529
|
+
|
530
|
+
The ``load`` command registers a new synonym ``"popular"``. It is
|
531
|
+
substituted with ``((popular) OR (n_likes:>=10))``. The substituted
|
532
|
+
query means that "popular" is containing the word "popular" or 10 or
|
533
|
+
more liked entries.
|
534
|
+
|
535
|
+
The ``select`` command outputs records that ``n_likes`` column value
|
536
|
+
is equal to or more than ``10`` from ``Entries`` table.
|
537
|
+
|
538
|
+
.. _query-flags:
|
539
|
+
|
540
|
+
``query_flags``
|
541
|
+
"""""""""""""""
|
542
|
+
|
543
|
+
It customs ``query`` parameter syntax. You cannot update column value
|
544
|
+
by ``query`` parameter by default. But if you specify
|
545
|
+
``ALLOW_COLUMN|ALLOW_UPDATE`` as ``query_flags``, you can update
|
546
|
+
column value by ``query``.
|
547
|
+
|
548
|
+
Here are available values:
|
549
|
+
|
550
|
+
* ``ALLOW_PRAGMA``
|
551
|
+
* ``ALLOW_COLUMN``
|
552
|
+
* ``ALLOW_UPDATE``
|
553
|
+
* ``ALLOW_LEADING_NOT``
|
554
|
+
* ``NONE``
|
555
|
+
|
556
|
+
``ALLOW_PRAGMA`` enables pragma at the head of ``query``. This is not
|
557
|
+
implemented yet.
|
558
|
+
|
559
|
+
``ALLOW_COLUMN`` enables search againt columns that are not included
|
560
|
+
in ``match_columns``. To specify column, there are ``COLUMN:...``
|
561
|
+
syntaxes.
|
562
|
+
|
563
|
+
``ALLOW_UPDATE`` enables column update by ``query`` with
|
564
|
+
``COLUMN:=NEW_VALUE`` syntax. ``ALLOW_COLUMN`` is also required to
|
565
|
+
update column because the column update syntax specifies column.
|
566
|
+
|
567
|
+
``ALLOW_LEADING_NOT`` enables leading NOT condition with ``-WORD``
|
568
|
+
syntax. The query searches records that doesn't match
|
569
|
+
``WORD``. Leading NOT condition query is heavy query in many cases
|
570
|
+
because it matches many records. So this flag is disabled by
|
571
|
+
default. Be careful about it when you use the flag.
|
572
|
+
|
573
|
+
``NONE`` is just ignores. You can use ``NONE`` for specifying no flags.
|
574
|
+
|
575
|
+
They can be combined by separated ``|`` such as
|
576
|
+
``ALLOW_COLUMN|ALLOW_UPDATE``.
|
577
|
+
|
578
|
+
The default value is ``ALLOW_PRAGMA|ALLOW_COLUMN``.
|
579
|
+
|
580
|
+
Here is a usage example of ``ALLOW_COLUMN``.
|
581
|
+
|
582
|
+
.. groonga-command
|
583
|
+
.. include:: ../../example/reference/commands/select/query_flags_allow_column.log
|
584
|
+
.. select Entries --query content:@mroonga --query_flags ALLOW_COLUMN
|
585
|
+
|
586
|
+
The ``select`` command searches records that contain ``mroonga`` in
|
587
|
+
``content`` column value from ``Entries`` table.
|
588
|
+
|
589
|
+
Here is a usage example of ``ALLOW_UPDATE``.
|
590
|
+
|
591
|
+
.. groonga-command
|
592
|
+
.. include:: ../../example/reference/commands/select/query_flags_allow_update.log
|
593
|
+
.. table_create Users TABLE_HASH_KEY ShortText
|
594
|
+
.. column_create Users age COLUMN_SCALAR UInt32
|
595
|
+
.. load --table Users
|
596
|
+
.. [
|
597
|
+
.. {"_key": "alice", "age": 18},
|
598
|
+
.. {"_key": "bob", "age": 20}
|
599
|
+
.. ]
|
600
|
+
.. select Users --query age:=19 --query_flags ALLOW_COLUMN|ALLOW_UPDATE
|
601
|
+
.. select Users
|
602
|
+
|
603
|
+
The first ``select`` command sets ``age`` column value of all records
|
604
|
+
to ``19``. The second ``select`` command outputs updated ``age``
|
605
|
+
column values.
|
606
|
+
|
607
|
+
Here is a usage example of ``ALLOW_LEADING_NOT``.
|
608
|
+
|
609
|
+
.. groonga-command
|
610
|
+
.. include:: ../../example/reference/commands/select/query_flags_allow_leading_not.log
|
611
|
+
.. select Entries --match_columns content --query -mroonga --query_flags ALLOW_LEADING_NOT
|
612
|
+
|
613
|
+
The ``select`` command searches records that don't contain ``mroonga``
|
614
|
+
in ``content`` column value from ``Entries`` table.
|
615
|
+
|
616
|
+
Here is a usage example of ``NONE``.
|
617
|
+
|
618
|
+
.. groonga-command
|
619
|
+
.. include:: ../../example/reference/commands/select/query_flags_none.log
|
620
|
+
.. select Entries --match_columns content --query 'mroonga OR _key:Groonga' --query_flags NONE
|
621
|
+
|
622
|
+
The ``select`` command searches records that contain one of two words
|
623
|
+
``mroonga`` or ``_key:Groonga`` in ``content`` from ``Entries`` table.
|
624
|
+
Note that ``_key:Groonga`` doesn't mean that the value of ``_key``
|
625
|
+
column is equal to ``Groonga``. Because ``ALLOW_COLUMN`` flag is not
|
626
|
+
specified.
|
627
|
+
|
628
|
+
See also :doc:`/reference/grn_expr/query_syntax`.
|
629
|
+
|
630
|
+
Output related parameters
|
631
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^
|
632
|
+
|
633
|
+
``output_columns``
|
634
|
+
""""""""""""""""""
|
635
|
+
|
636
|
+
It specifies output columns separated by ``,``.
|
637
|
+
|
638
|
+
Here is a simple ``output_columns`` usage example.
|
639
|
+
|
640
|
+
.. groonga-command
|
641
|
+
.. include:: ../../example/reference/commands/select/output_columns_simple.log
|
642
|
+
.. select Entries --output_columns '_id, _key' --limit 1
|
643
|
+
|
644
|
+
The ``select`` command just outputs ``_id`` and ``_key`` column
|
645
|
+
values.
|
646
|
+
|
647
|
+
``*`` is a special value. It means that all columns that are not
|
648
|
+
:doc:`/reference/pseudo_column`.
|
649
|
+
|
650
|
+
Here is a ``*`` usage example.
|
651
|
+
|
652
|
+
.. groonga-command
|
653
|
+
.. include:: ../../example/reference/commands/select/output_columns_asterisk.log
|
654
|
+
.. select Entries --output_columns '_key, *' --limit 1
|
655
|
+
|
656
|
+
The ``select`` command outputs ``_key`` pseudo column, ``content``
|
657
|
+
column and ``n_likes`` column values but doesn't output ``_id`` pseudo
|
658
|
+
column value.
|
659
|
+
|
660
|
+
The default value is ``_id, _key, *``. It means that all column
|
661
|
+
values except ``_score`` are outputted.
|
662
|
+
|
663
|
+
``sortby``
|
664
|
+
""""""""""
|
665
|
+
|
666
|
+
It specifies sort keys separated by ``,``. Each sort key is column
|
667
|
+
name.
|
668
|
+
|
669
|
+
Here is a simple ``sortby`` usage example.
|
670
|
+
|
671
|
+
.. groonga-command
|
672
|
+
.. include:: ../../example/reference/commands/select/sortby_simple.log
|
673
|
+
.. select Entries --sortby 'n_likes, _id'
|
674
|
+
|
675
|
+
The ``select`` command sorts by ``n_likes`` column value in ascending
|
676
|
+
order. For records that has the same ``n_likes`` are sorted by ``_id``
|
677
|
+
in ascending order. ``"Good-bye Senna"`` and ``"Good-bye Tritonn"``
|
678
|
+
are the case.
|
679
|
+
|
680
|
+
If you want to sort in descending order, add ``-`` before column name.
|
681
|
+
|
682
|
+
Here is a descending order ``sortby`` usage example.
|
683
|
+
|
684
|
+
.. groonga-command
|
685
|
+
.. include:: ../../example/reference/commands/select/sortby_descending.log
|
686
|
+
.. select Entries --sortby '-n_likes, _id'
|
687
|
+
|
688
|
+
The ``select`` command sorts by ``n_likes`` column value in descending
|
689
|
+
order. But ascending order is used for sorting by ``_id``.
|
690
|
+
|
691
|
+
You can use ``_score`` pseudo column in ``sortby`` if you use
|
692
|
+
``query`` or ``filter`` parameter.
|
693
|
+
|
694
|
+
.. groonga-command
|
695
|
+
.. include:: ../../example/reference/commands/select/sortby_score_with_query.log
|
696
|
+
.. select Entries --match_columns content --query fast --sortby -_score --output_columns '_key, _score'
|
697
|
+
|
698
|
+
The ``select`` command sorts matched records by hit score in
|
699
|
+
descending order and outputs record key and hit score.
|
700
|
+
|
701
|
+
If you use ``_score`` without ``query`` nor ``filter`` parameters,
|
702
|
+
it's just ignored but get a warning in log file.
|
703
|
+
|
704
|
+
``offset``
|
705
|
+
""""""""""
|
706
|
+
|
707
|
+
It specifies offset to determine output records range. Offset is
|
708
|
+
zero-origin. ``--offset 1`` means output range is started from the 2nd
|
709
|
+
record.
|
710
|
+
|
711
|
+
.. groonga-command
|
712
|
+
.. include:: ../../example/reference/commands/select/offset_simple.log
|
713
|
+
.. select Entries --sortby _id --offset 3 --output_columns _key
|
714
|
+
|
715
|
+
The ``select`` command outputs from the 4th record.
|
716
|
+
|
717
|
+
You can specify negative value. It means that ``the number of matched
|
718
|
+
records + offset``. If you have 3 matched records and specify
|
719
|
+
``--offset -2``, you get records from the 1st (``3 + -2 = 1``) record
|
720
|
+
to the 3rd record.
|
721
|
+
|
722
|
+
.. groonga-command
|
723
|
+
.. include:: ../../example/reference/commands/select/offset_negative.log
|
724
|
+
.. select Entries --sortby _id --offset -2 --output_columns _key
|
725
|
+
|
726
|
+
The ``select`` command outputs from the 4th record because the total
|
727
|
+
number of records is ``5``.
|
728
|
+
|
729
|
+
The default value is ``0``.
|
730
|
+
|
731
|
+
``limit``
|
732
|
+
"""""""""
|
733
|
+
|
734
|
+
It specifies the max number of output records. If the number of
|
735
|
+
matched records is less than ``limit``, all records are outputted.
|
736
|
+
|
737
|
+
Here is a simple ``limit`` usage example.
|
738
|
+
|
739
|
+
.. groonga-command
|
740
|
+
.. include:: ../../example/reference/commands/select/limit_simple.log
|
741
|
+
.. select Entries --sortby _id --offset 2 --limit 3 --output_columns _key
|
742
|
+
|
743
|
+
The ``select`` command outputs the 3rd, the 4th and the 5th records.
|
744
|
+
|
745
|
+
You can specify negative value. It means that ``the number of matched
|
746
|
+
records + limit + 1``. For example, ``--limit -1`` outputs all
|
747
|
+
records. It's very useful value to show all records.
|
748
|
+
|
749
|
+
Here is a simple negative ``limit`` value usage example.
|
750
|
+
|
751
|
+
.. groonga-command
|
752
|
+
.. include:: ../../example/reference/commands/select/limit_negative.log
|
753
|
+
.. select Entries --limit -1
|
754
|
+
|
755
|
+
The ``select`` command outputs all records.
|
756
|
+
|
757
|
+
The default value is ``10``.
|
758
|
+
|
759
|
+
``scorer``
|
760
|
+
""""""""""
|
761
|
+
|
762
|
+
TODO: write in English and add example.
|
763
|
+
|
764
|
+
検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。
|
765
|
+
|
766
|
+
scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。
|
767
|
+
|
768
|
+
Facet related parameters
|
769
|
+
^^^^^^^^^^^^^^^^^^^^^^^^
|
770
|
+
|
771
|
+
``drilldown``
|
772
|
+
"""""""""""""
|
773
|
+
|
774
|
+
TODO: write in English and add example.
|
775
|
+
|
776
|
+
グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。
|
777
|
+
|
778
|
+
``drilldown_sortby``
|
779
|
+
""""""""""""""""""""
|
780
|
+
|
781
|
+
TODO: write in English and add example.
|
782
|
+
|
783
|
+
drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。
|
784
|
+
|
785
|
+
``drilldown_output_columns``
|
786
|
+
""""""""""""""""""""""""""""
|
787
|
+
|
788
|
+
TODO: write in English and add example.
|
789
|
+
|
790
|
+
drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。
|
791
|
+
|
792
|
+
``drilldown_offset``
|
793
|
+
""""""""""""""""""""
|
794
|
+
|
795
|
+
TODO: write in English and add example.
|
796
|
+
|
797
|
+
drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。
|
798
|
+
|
799
|
+
``drilldown_limit``
|
800
|
+
"""""""""""""""""""
|
801
|
+
|
802
|
+
TODO: write in English and add example.
|
803
|
+
|
804
|
+
drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。
|
805
|
+
|
806
|
+
Cache related parameter
|
807
|
+
^^^^^^^^^^^^^^^^^^^^^^^
|
808
|
+
|
809
|
+
``cache``
|
810
|
+
"""""""""
|
811
|
+
|
812
|
+
TODO: write in English and add example.
|
813
|
+
|
814
|
+
クエリキャッシュに関する動作を設定します。
|
815
|
+
|
816
|
+
``no``
|
817
|
+
|
818
|
+
検索結果をクエリキャッシュに残しません。キャッシュして再利用される可能性が低いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多くヒットするために、このパラメータは有効です。
|
819
|
+
|
820
|
+
返値
|
821
|
+
----
|
822
|
+
|
823
|
+
TODO: write in English and add example.
|
824
|
+
|
825
|
+
以下のようなjson形式で値が返却されます。
|
826
|
+
|
827
|
+
::
|
828
|
+
|
829
|
+
[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]
|
830
|
+
|
831
|
+
``リターンコード``
|
832
|
+
|
833
|
+
grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内容を示す
|
834
|
+
文字列が返されます。
|
835
|
+
|
836
|
+
``処理開始時間``
|
837
|
+
|
838
|
+
処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返します。
|
839
|
+
|
840
|
+
``処理時間``
|
841
|
+
|
842
|
+
処理にかかった秒数を返します。
|
843
|
+
|
844
|
+
``検索結果``
|
845
|
+
|
846
|
+
drilldown条件が実行される前の検索結果が以下のように出力されます。::
|
847
|
+
|
848
|
+
[[検索件数], [[カラム名1,カラム型1],..], 検索結果1,..]
|
849
|
+
|
850
|
+
``検索件数``
|
851
|
+
|
852
|
+
検索件数が出力されます。
|
853
|
+
|
854
|
+
``カラム名n``
|
855
|
+
|
856
|
+
output_columnsに指定された条件に従って、対象となるカラム名が出力されます。
|
857
|
+
|
858
|
+
``カラム型n``
|
859
|
+
|
860
|
+
output_columnsに指定された条件に従って、対象となるカラム型が出力されます。
|
861
|
+
|
862
|
+
``検索結果n``
|
863
|
+
|
864
|
+
output_columns, offset, limitによって指定された条件に従って各レコードの値が出力されます。
|
865
|
+
|
866
|
+
``drilldown結果``
|
867
|
+
|
868
|
+
drilldown処理の結果が以下のように出力されます。::
|
869
|
+
|
870
|
+
[[[件数], [[カラム名1,カラム型1],..], 検索結果1,..],..]
|
871
|
+
|
872
|
+
``件数``
|
873
|
+
|
874
|
+
drilldownに指定されたカラムの値の異なり数が出力されます。
|
875
|
+
|
876
|
+
``カラム名n``
|
877
|
+
|
878
|
+
drilldown_output_columnsに指定された条件に従って、対象となるカラム名が出力されます。
|
879
|
+
|
880
|
+
``カラム型n``
|
881
|
+
|
882
|
+
drilldown_output_columnsに指定された条件に従って、対象となるカラム型が出力されます。
|
883
|
+
|
884
|
+
``ドリルダウン結果n``
|
885
|
+
|
886
|
+
drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された条件に従って各レコードの値が出力されます。
|
887
|
+
|
888
|
+
See also
|
889
|
+
--------
|
890
|
+
|
891
|
+
* :doc:`/reference/grn_expr/query_syntax`
|
892
|
+
* :doc:`/reference/grn_expr/script_syntax`
|