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
@@ -9,7 +9,7 @@
|
|
9
9
|
<head>
|
10
10
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
11
|
|
12
|
-
<title>4.1. Basic operations — groonga v2.0.
|
12
|
+
<title>4.1. Basic operations — groonga v2.0.5-316-g23cc017 documentation</title>
|
13
13
|
|
14
14
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
15
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript">
|
18
18
|
var DOCUMENTATION_OPTIONS = {
|
19
19
|
URL_ROOT: '../',
|
20
|
-
VERSION: '2.0.
|
20
|
+
VERSION: '2.0.5-316-g23cc017',
|
21
21
|
COLLAPSE_INDEX: false,
|
22
22
|
FILE_SUFFIX: '.html',
|
23
23
|
HAS_SOURCE: true
|
@@ -27,7 +27,7 @@
|
|
27
27
|
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
28
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
29
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v2.0.
|
30
|
+
<link rel="top" title="groonga v2.0.5-316-g23cc017 documentation" href="../index.html" />
|
31
31
|
<link rel="up" title="4. Tutorial" href="../tutorial.html" />
|
32
32
|
<link rel="next" title="4.2. Remote access" href="network.html" />
|
33
33
|
<link rel="prev" title="4. Tutorial" href="../tutorial.html" />
|
@@ -62,7 +62,7 @@
|
|
62
62
|
<li class="right" >
|
63
63
|
<a href="../tutorial.html" title="4. Tutorial"
|
64
64
|
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../index.html">groonga v2.0.
|
65
|
+
<li><a href="../index.html">groonga v2.0.5-316-g23cc017 documentation</a> »</li>
|
66
66
|
<li><a href="../tutorial.html" accesskey="U">4. Tutorial</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
@@ -99,11 +99,28 @@
|
|
99
99
|
</div>
|
100
100
|
<p>DB_PATH specifies the path of a target database. This command fails if the specified database does not exist.</p>
|
101
101
|
<p>If COMMAND is specified, groonga executes COMMAND and returns the result. Otherwise, groonga starts in interactive mode that reads commands from the standard input and executes them one by one. This tutorial focuses on the interactive mode.</p>
|
102
|
-
<p>Let's see the status of a groonga process by using a <a class="reference internal" href="../commands/status.html"><em>status</em></a> command.</p>
|
102
|
+
<p>Let's see the status of a groonga process by using a <a class="reference internal" href="../reference/commands/status.html"><em>status</em></a> command.</p>
|
103
103
|
<p>Execution example:</p>
|
104
104
|
<div class="highlight-none"><div class="highlight"><pre>% groonga /tmp/groonga-databases/introduction.db
|
105
|
-
|
106
|
-
[
|
105
|
+
status
|
106
|
+
# [
|
107
|
+
# [
|
108
|
+
# 0,
|
109
|
+
# 1337566253.89858,
|
110
|
+
# 0.000355720520019531
|
111
|
+
# ],
|
112
|
+
# {
|
113
|
+
# "uptime": 0,
|
114
|
+
# "max_command_version": 2,
|
115
|
+
# "n_queries": 0,
|
116
|
+
# "cache_hit_rate": 0.0,
|
117
|
+
# "version": "2.0.5",
|
118
|
+
# "alloc_count": 142,
|
119
|
+
# "command_version": 1,
|
120
|
+
# "starttime": 1343713486,
|
121
|
+
# "default_command_version": 1
|
122
|
+
# }
|
123
|
+
# ]
|
107
124
|
</pre></div>
|
108
125
|
</div>
|
109
126
|
<p>As shown in the above example, a command returns a JSON array. The first element contains an error code, execution time, etc. The second element is the result of an operation.</p>
|
@@ -119,107 +136,293 @@ Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
|
|
119
136
|
<p>In the first form, arguments must be passed in order. This kind of arguments are called positional arguments because the position of each argument determines its meaning.</p>
|
120
137
|
<p>In the second form, you can specify a parameter name with its value. So, the order of arguments is not defined. This kind of arguments are known as named parameters or keyword arguments.</p>
|
121
138
|
<p>If you want to specify a value which contains white-spaces or special characters, such as quotes and parentheses, please enclose the value with single-quotes or double-quotes.</p>
|
122
|
-
<p>For details, see also the paragraph of "command" in <a class="reference internal" href="../executables/groonga.html"><em>groonga
|
139
|
+
<p>For details, see also the paragraph of "command" in <a class="reference internal" href="../reference/executables/groonga.html"><em>groonga command</em></a>.</p>
|
123
140
|
</div>
|
124
141
|
<div class="section" id="basic-commands">
|
125
142
|
<h2>4.1.4. Basic commands<a class="headerlink" href="#basic-commands" title="Permalink to this headline">¶</a></h2>
|
126
143
|
<blockquote>
|
127
144
|
<div><dl class="docutils">
|
128
|
-
<dt><a class="reference internal" href="../commands/status.html"><em>status</em></a></dt>
|
145
|
+
<dt><a class="reference internal" href="../reference/commands/status.html"><em>status</em></a></dt>
|
129
146
|
<dd>shows status of a groonga process.</dd>
|
130
|
-
<dt><a class="reference internal" href="../commands/table_list.html"><em>table_list</em></a></dt>
|
147
|
+
<dt><a class="reference internal" href="../reference/commands/table_list.html"><em>table_list</em></a></dt>
|
131
148
|
<dd>shows a list of tables in a database.</dd>
|
132
|
-
<dt><a class="reference internal" href="../commands/column_list.html"><em>column_list</em></a></dt>
|
149
|
+
<dt><a class="reference internal" href="../reference/commands/column_list.html"><em>column_list</em></a></dt>
|
133
150
|
<dd>shows a list of columns in a table.</dd>
|
134
|
-
<dt><a class="reference internal" href="../commands/table_create.html"><em>table_create</em></a></dt>
|
151
|
+
<dt><a class="reference internal" href="../reference/commands/table_create.html"><em>table_create</em></a></dt>
|
135
152
|
<dd>adds a table to a database.</dd>
|
136
|
-
<dt><a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a></dt>
|
153
|
+
<dt><a class="reference internal" href="../reference/commands/column_create.html"><em>column_create</em></a></dt>
|
137
154
|
<dd>adds a column to a table.</dd>
|
138
|
-
<dt><a class="reference internal" href="../commands/select.html"><em>select</em></a></dt>
|
155
|
+
<dt><a class="reference internal" href="../reference/commands/select.html"><em>select</em></a></dt>
|
139
156
|
<dd>searches records from a table and shows the result.</dd>
|
140
|
-
<dt><a class="reference internal" href="../commands/load.html"><em>load</em></a></dt>
|
157
|
+
<dt><a class="reference internal" href="../reference/commands/load.html"><em>load</em></a></dt>
|
141
158
|
<dd>inserts records to a table.</dd>
|
142
159
|
</dl>
|
143
160
|
</div></blockquote>
|
144
161
|
</div>
|
145
162
|
<div class="section" id="create-a-table">
|
146
163
|
<h2>4.1.5. Create a table<a class="headerlink" href="#create-a-table" title="Permalink to this headline">¶</a></h2>
|
147
|
-
<p>A <a class="reference internal" href="../commands/table_create.html"><em>table_create</em></a> command creates a new table.</p>
|
164
|
+
<p>A <a class="reference internal" href="../reference/commands/table_create.html"><em>table_create</em></a> command creates a new table.</p>
|
148
165
|
<p>In most cases, a table has a primary key which must be specified with its data type and index type.</p>
|
149
|
-
<p>There are various data types such as integers, strings, etc. See also <a class="reference internal" href="../type.html"><em>データ型</em></a> for more details. The index type determines the search performance and the availability of prefix searches. The details will be described later.</p>
|
166
|
+
<p>There are various data types such as integers, strings, etc. See also <a class="reference internal" href="../reference/type.html"><em>データ型</em></a> for more details. The index type determines the search performance and the availability of prefix searches. The details will be described later.</p>
|
150
167
|
<p>Let's create a table. The following example creates a table with a primary key. The <cite>name</cite> parameter specifies the name of the table. The <cite>flags</cite> parameter specifies the index type for the primary key. The <cite>key_type</cite> parameter specifies the data type of the primary key.</p>
|
151
168
|
<p>Execution example:</p>
|
152
|
-
<div class="highlight-none"><div class="highlight"><pre
|
153
|
-
[[0,
|
169
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText
|
170
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
154
171
|
</pre></div>
|
155
172
|
</div>
|
156
173
|
<p>The second element of the result indicates that the operation succeeded.</p>
|
157
174
|
</div>
|
158
175
|
<div class="section" id="view-a-table">
|
159
176
|
<h2>4.1.6. View a table<a class="headerlink" href="#view-a-table" title="Permalink to this headline">¶</a></h2>
|
160
|
-
<p>A <a class="reference internal" href="../commands/select.html"><em>select</em></a> command can enumerate records in a table.</p>
|
177
|
+
<p>A <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> command can enumerate records in a table.</p>
|
161
178
|
<p>Execution example:</p>
|
162
|
-
<div class="highlight-none"><div class="highlight"><pre
|
163
|
-
[
|
179
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Site
|
180
|
+
# [
|
181
|
+
# [
|
182
|
+
# 0,
|
183
|
+
# 1337566253.89858,
|
184
|
+
# 0.000355720520019531
|
185
|
+
# ],
|
186
|
+
# [
|
187
|
+
# [
|
188
|
+
# [
|
189
|
+
# 0
|
190
|
+
# ],
|
191
|
+
# [
|
192
|
+
# [
|
193
|
+
# "_id",
|
194
|
+
# "UInt32"
|
195
|
+
# ],
|
196
|
+
# [
|
197
|
+
# "_key",
|
198
|
+
# "ShortText"
|
199
|
+
# ]
|
200
|
+
# ]
|
201
|
+
# ]
|
202
|
+
# ]
|
203
|
+
# ]
|
164
204
|
</pre></div>
|
165
205
|
</div>
|
166
|
-
<p>When only a table name is specified with a <cite>table</cite> parameter, a <a class="reference internal" href="../commands/select.html"><em>select</em></a> command returns the first (at most) 10 records in the table. [0] in the result shows the number of records in the table. The next array is a list of columns. ["_id","Uint32"] is a column of UInt32, named _id. ["_key","ShortText"] is a column of ShortText, named _key.</p>
|
206
|
+
<p>When only a table name is specified with a <cite>table</cite> parameter, a <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> command returns the first (at most) 10 records in the table. [0] in the result shows the number of records in the table. The next array is a list of columns. ["_id","Uint32"] is a column of UInt32, named _id. ["_key","ShortText"] is a column of ShortText, named _key.</p>
|
167
207
|
<p>The above two columns, _id and _key, are the necessary columns. The _id column stores IDs those are automatically allocated by groonga. The _key column is associated with the primary key. You are not allowed to rename these columns.</p>
|
168
208
|
</div>
|
169
209
|
<div class="section" id="create-a-column">
|
170
210
|
<h2>4.1.7. Create a column<a class="headerlink" href="#create-a-column" title="Permalink to this headline">¶</a></h2>
|
171
|
-
<p>A <a class="reference internal" href="../commands/column_create.html"><em>column_create</em></a> command creates a new column.</p>
|
211
|
+
<p>A <a class="reference internal" href="../reference/commands/column_create.html"><em>column_create</em></a> command creates a new column.</p>
|
172
212
|
<p>Let's add a column. The following example adds a column to the Site table. The <cite>table</cite> parameter specifies the target table. The <cite>name</cite> parameter specifies the name of the column. The <cite>type</cite> parameter specifies the data type of the column.</p>
|
173
213
|
<p>Execution example:</p>
|
174
|
-
<div class="highlight-none"><div class="highlight"><pre
|
175
|
-
[[0,
|
176
|
-
|
177
|
-
[
|
214
|
+
<div class="highlight-none"><div class="highlight"><pre>column_create --table Site --name title --type ShortText
|
215
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
216
|
+
select --table Site
|
217
|
+
# [
|
218
|
+
# [
|
219
|
+
# 0,
|
220
|
+
# 1337566253.89858,
|
221
|
+
# 0.000355720520019531
|
222
|
+
# ],
|
223
|
+
# [
|
224
|
+
# [
|
225
|
+
# [
|
226
|
+
# 0
|
227
|
+
# ],
|
228
|
+
# [
|
229
|
+
# [
|
230
|
+
# "_id",
|
231
|
+
# "UInt32"
|
232
|
+
# ],
|
233
|
+
# [
|
234
|
+
# "_key",
|
235
|
+
# "ShortText"
|
236
|
+
# ],
|
237
|
+
# [
|
238
|
+
# "title",
|
239
|
+
# "ShortText"
|
240
|
+
# ]
|
241
|
+
# ]
|
242
|
+
# ]
|
243
|
+
# ]
|
244
|
+
# ]
|
178
245
|
</pre></div>
|
179
246
|
</div>
|
180
247
|
</div>
|
181
248
|
<div class="section" id="load-records">
|
182
249
|
<h2>4.1.8. Load records<a class="headerlink" href="#load-records" title="Permalink to this headline">¶</a></h2>
|
183
|
-
<p>A <a class="reference internal" href="../commands/load.html"><em>load</em></a> command loads JSON-formatted records into a table.</p>
|
250
|
+
<p>A <a class="reference internal" href="../reference/commands/load.html"><em>load</em></a> command loads JSON-formatted records into a table.</p>
|
184
251
|
<p>The following example loads nine records into the Site table.</p>
|
185
252
|
<p>Execution example:</p>
|
186
|
-
<div class="highlight-none"><div class="highlight"><pre
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
[[0,
|
253
|
+
<div class="highlight-none"><div class="highlight"><pre>load --table Site
|
254
|
+
[
|
255
|
+
{"_key":"http://example.org/","title":"This is test record 1!"},
|
256
|
+
{"_key":"http://example.net/","title":"test record 2."},
|
257
|
+
{"_key":"http://example.com/","title":"test test record three."},
|
258
|
+
{"_key":"http://example.net/afr","title":"test record four."},
|
259
|
+
{"_key":"http://example.org/aba","title":"test test test record five."},
|
260
|
+
{"_key":"http://example.com/rab","title":"test test test test record six."},
|
261
|
+
{"_key":"http://example.net/atv","title":"test test test record seven."},
|
262
|
+
{"_key":"http://example.org/gat","title":"test test record eight."},
|
263
|
+
{"_key":"http://example.com/vdw","title":"test test record nine."},
|
264
|
+
]
|
265
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 9]
|
199
266
|
</pre></div>
|
200
267
|
</div>
|
201
268
|
<p>The second element of the result indicates how many records were successfully loaded. In this case, all the records are successfully loaded.</p>
|
202
269
|
<p>Let's make sure that these records are correctly stored.</p>
|
203
270
|
<p>Execution example:</p>
|
204
|
-
<div class="highlight-none"><div class="highlight"><pre
|
205
|
-
|
271
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Site
|
272
|
+
# [
|
273
|
+
# [
|
274
|
+
# 0,
|
275
|
+
# 1337566253.89858,
|
276
|
+
# 0.000355720520019531
|
277
|
+
# ],
|
278
|
+
# [
|
279
|
+
# [
|
280
|
+
# [
|
281
|
+
# 9
|
282
|
+
# ],
|
283
|
+
# [
|
284
|
+
# [
|
285
|
+
# "_id",
|
286
|
+
# "UInt32"
|
287
|
+
# ],
|
288
|
+
# [
|
289
|
+
# "_key",
|
290
|
+
# "ShortText"
|
291
|
+
# ],
|
292
|
+
# [
|
293
|
+
# "title",
|
294
|
+
# "ShortText"
|
295
|
+
# ]
|
296
|
+
# ],
|
297
|
+
# [
|
298
|
+
# 1,
|
299
|
+
# "http://example.org/",
|
300
|
+
# "This is test record 1!"
|
301
|
+
# ],
|
302
|
+
# [
|
303
|
+
# 2,
|
304
|
+
# "http://example.net/",
|
305
|
+
# "test record 2."
|
306
|
+
# ],
|
307
|
+
# [
|
308
|
+
# 3,
|
309
|
+
# "http://example.com/",
|
310
|
+
# "test test record three."
|
311
|
+
# ],
|
312
|
+
# [
|
313
|
+
# 4,
|
314
|
+
# "http://example.net/afr",
|
315
|
+
# "test record four."
|
316
|
+
# ],
|
317
|
+
# [
|
318
|
+
# 5,
|
319
|
+
# "http://example.org/aba",
|
320
|
+
# "test test test record five."
|
321
|
+
# ],
|
322
|
+
# [
|
323
|
+
# 6,
|
324
|
+
# "http://example.com/rab",
|
325
|
+
# "test test test test record six."
|
326
|
+
# ],
|
327
|
+
# [
|
328
|
+
# 7,
|
329
|
+
# "http://example.net/atv",
|
330
|
+
# "test test test record seven."
|
331
|
+
# ],
|
332
|
+
# [
|
333
|
+
# 8,
|
334
|
+
# "http://example.org/gat",
|
335
|
+
# "test test record eight."
|
336
|
+
# ],
|
337
|
+
# [
|
338
|
+
# 9,
|
339
|
+
# "http://example.com/vdw",
|
340
|
+
# "test test record nine."
|
341
|
+
# ]
|
342
|
+
# ]
|
343
|
+
# ]
|
344
|
+
# ]
|
206
345
|
</pre></div>
|
207
346
|
</div>
|
208
347
|
</div>
|
209
348
|
<div class="section" id="get-a-record">
|
210
349
|
<h2>4.1.9. Get a record<a class="headerlink" href="#get-a-record" title="Permalink to this headline">¶</a></h2>
|
211
|
-
<p>A <a class="reference internal" href="../commands/select.html"><em>select</em></a> command can search records in a table.</p>
|
212
|
-
<p>If a search condition is specified with a <cite>query</cite> parameter, a <a class="reference internal" href="../commands/select.html"><em>select</em></a> command searches records matching the search condition and returns the matched records.</p>
|
350
|
+
<p>A <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> command can search records in a table.</p>
|
351
|
+
<p>If a search condition is specified with a <cite>query</cite> parameter, a <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> command searches records matching the search condition and returns the matched records.</p>
|
213
352
|
<p>Let's get a record having a specified record ID. The following example gets the first record in the Site table. More precisely, the <cite>query</cite> parameter specifies a record whose _id column stores 1.</p>
|
214
353
|
<p>Execution example:</p>
|
215
|
-
<div class="highlight-none"><div class="highlight"><pre
|
216
|
-
[
|
354
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Site --query _id:1
|
355
|
+
# [
|
356
|
+
# [
|
357
|
+
# 0,
|
358
|
+
# 1337566253.89858,
|
359
|
+
# 0.000355720520019531
|
360
|
+
# ],
|
361
|
+
# [
|
362
|
+
# [
|
363
|
+
# [
|
364
|
+
# 1
|
365
|
+
# ],
|
366
|
+
# [
|
367
|
+
# [
|
368
|
+
# "_id",
|
369
|
+
# "UInt32"
|
370
|
+
# ],
|
371
|
+
# [
|
372
|
+
# "_key",
|
373
|
+
# "ShortText"
|
374
|
+
# ],
|
375
|
+
# [
|
376
|
+
# "title",
|
377
|
+
# "ShortText"
|
378
|
+
# ]
|
379
|
+
# ],
|
380
|
+
# [
|
381
|
+
# 1,
|
382
|
+
# "http://example.org/",
|
383
|
+
# "This is test record 1!"
|
384
|
+
# ]
|
385
|
+
# ]
|
386
|
+
# ]
|
387
|
+
# ]
|
217
388
|
</pre></div>
|
218
389
|
</div>
|
219
390
|
<p>Next, let's get a record having a specified key. The following example gets the record whose primary key is "<a class="reference external" href="http://example.org/">http://example.org/</a>". More precisely, the <cite>query</cite> parameter specifies a record whose _key column stores "<a class="reference external" href="http://example.org/">http://example.org/</a>".</p>
|
220
391
|
<p>Execution example:</p>
|
221
|
-
<div class="highlight-none"><div class="highlight"><pre
|
222
|
-
[
|
392
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Site --query '_key:"http://example.org/"'
|
393
|
+
# [
|
394
|
+
# [
|
395
|
+
# 0,
|
396
|
+
# 1337566253.89858,
|
397
|
+
# 0.000355720520019531
|
398
|
+
# ],
|
399
|
+
# [
|
400
|
+
# [
|
401
|
+
# [
|
402
|
+
# 1
|
403
|
+
# ],
|
404
|
+
# [
|
405
|
+
# [
|
406
|
+
# "_id",
|
407
|
+
# "UInt32"
|
408
|
+
# ],
|
409
|
+
# [
|
410
|
+
# "_key",
|
411
|
+
# "ShortText"
|
412
|
+
# ],
|
413
|
+
# [
|
414
|
+
# "title",
|
415
|
+
# "ShortText"
|
416
|
+
# ]
|
417
|
+
# ],
|
418
|
+
# [
|
419
|
+
# 1,
|
420
|
+
# "http://example.org/",
|
421
|
+
# "This is test record 1!"
|
422
|
+
# ]
|
423
|
+
# ]
|
424
|
+
# ]
|
425
|
+
# ]
|
223
426
|
</pre></div>
|
224
427
|
</div>
|
225
428
|
</div>
|
@@ -229,11 +432,11 @@ Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
|
|
229
432
|
<p>Groonga uses an inverted index to provide fast full text search. So, the first step is to create a lexicon table which stores an inverted index, also known as postings lists. The primary key of this table is associated with a vocabulary made up of index terms and each record stores postings lists for one index term.</p>
|
230
433
|
<p>The following shows a command which creates a lexicon table named Terms. The data type of its primary key is ShortText.</p>
|
231
434
|
<p>Execution example:</p>
|
232
|
-
<div class="highlight-none"><div class="highlight"><pre
|
233
|
-
[[0,
|
435
|
+
<div class="highlight-none"><div class="highlight"><pre>table_create --name Terms --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
|
436
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
234
437
|
</pre></div>
|
235
438
|
</div>
|
236
|
-
<p>The <a class="reference internal" href="../commands/table_create.html"><em>table_create</em></a> command takes many parameters but you don't need to understand all of them. Please skip the next paragraph if you are not interested in how it works.</p>
|
439
|
+
<p>The <a class="reference internal" href="../reference/commands/table_create.html"><em>table_create</em></a> command takes many parameters but you don't need to understand all of them. Please skip the next paragraph if you are not interested in how it works.</p>
|
237
440
|
<p>The TABLE_PAT_KEY flag specifies to store index terms in a patricia trie. The KEY_NORMALIZE flag specifies to normalize index terms. In this example, both flags are validated by using a '|'. The <cite>default_tokenizer</cite> parameter specifies the method for tokenizing text. This example uses TokenBigram that is generally called N-gram.</p>
|
238
441
|
</div>
|
239
442
|
<div class="section" id="create-an-index-column-for-full-text-search">
|
@@ -241,8 +444,8 @@ Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
|
|
241
444
|
<p>The second step is to create an index column, which allows you to search records from its associated column. That is to say this step specifies which column needs an index.</p>
|
242
445
|
<p>Let's create an index column. The following example creates an index column for a column in the Site table.</p>
|
243
446
|
<p>Execution example:</p>
|
244
|
-
<div class="highlight-none"><div class="highlight"><pre
|
245
|
-
[[0,
|
447
|
+
<div class="highlight-none"><div class="highlight"><pre>column_create --table Terms --name blog_title --flags COLUMN_INDEX|WITH_POSITION --type Site --source title
|
448
|
+
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
246
449
|
</pre></div>
|
247
450
|
</div>
|
248
451
|
<p>The <cite>table</cite> parameter specifies the index table and the <cite>name</cite> parameter specifies the index column. The <cite>type</cite> parameter specifies the target table and the <cite>source</cite> parameter specifies the target column. The COLUMN_INDEX flag specifies to create an index column and the WITH_POSITION flag specifies to create a full inverted index, which contains the positions of each index term. This combination, COLUMN_INDEX|WITH_POSITION, is recommended for the general purpose.</p>
|
@@ -253,66 +456,539 @@ Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
|
|
253
456
|
</div>
|
254
457
|
<div class="section" id="full-text-search">
|
255
458
|
<h2>4.1.12. Full text search<a class="headerlink" href="#full-text-search" title="Permalink to this headline">¶</a></h2>
|
256
|
-
<p>It's time. You can make full text search with a <a class="reference internal" href="../commands/select.html"><em>select</em></a> command.</p>
|
459
|
+
<p>It's time. You can make full text search with a <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> command.</p>
|
257
460
|
<p>A query for full text search is specified with a <cite>query</cite> parameter. The following example searches records whose "title" column contains "this". The '@' specifies to make full text search. Note that a lower case query matches upper case and capitalized terms in a record if KEY_NORMALIZE was specified when creating a lexcon table.</p>
|
258
461
|
<p>Execution example:</p>
|
259
|
-
<div class="highlight-none"><div class="highlight"><pre
|
260
|
-
[
|
462
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Site --query title:@this
|
463
|
+
# [
|
464
|
+
# [
|
465
|
+
# 0,
|
466
|
+
# 1337566253.89858,
|
467
|
+
# 0.000355720520019531
|
468
|
+
# ],
|
469
|
+
# [
|
470
|
+
# [
|
471
|
+
# [
|
472
|
+
# 1
|
473
|
+
# ],
|
474
|
+
# [
|
475
|
+
# [
|
476
|
+
# "_id",
|
477
|
+
# "UInt32"
|
478
|
+
# ],
|
479
|
+
# [
|
480
|
+
# "_key",
|
481
|
+
# "ShortText"
|
482
|
+
# ],
|
483
|
+
# [
|
484
|
+
# "title",
|
485
|
+
# "ShortText"
|
486
|
+
# ]
|
487
|
+
# ],
|
488
|
+
# [
|
489
|
+
# 1,
|
490
|
+
# "http://example.org/",
|
491
|
+
# "This is test record 1!"
|
492
|
+
# ]
|
493
|
+
# ]
|
494
|
+
# ]
|
495
|
+
# ]
|
261
496
|
</pre></div>
|
262
497
|
</div>
|
263
498
|
<p>In this example, the first record matches the query because its title contains "This", that is the capitalized form of the query.</p>
|
264
|
-
<p>A <a class="reference internal" href="../commands/select.html"><em>select</em></a> command accepts an optional parameter, named <cite>match_columns</cite>, that specifies the default target columns. This parameter is used if target columns are not specified in a query. <a class="footnote-reference" href="#id2" id="id1">[1]</a></p>
|
499
|
+
<p>A <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> command accepts an optional parameter, named <cite>match_columns</cite>, that specifies the default target columns. This parameter is used if target columns are not specified in a query. <a class="footnote-reference" href="#id2" id="id1">[1]</a></p>
|
265
500
|
<p>The combination of "<cite>--match_columns</cite> title" and "<cite>--query</cite> this" brings you the same result that "<cite>--query</cite> title:@this" does.</p>
|
266
501
|
<p>Execution example:</p>
|
267
|
-
<div class="highlight-none"><div class="highlight"><pre
|
268
|
-
[
|
502
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Site --match_columns title --query this
|
503
|
+
# [
|
504
|
+
# [
|
505
|
+
# 0,
|
506
|
+
# 1337566253.89858,
|
507
|
+
# 0.000355720520019531
|
508
|
+
# ],
|
509
|
+
# [
|
510
|
+
# [
|
511
|
+
# [
|
512
|
+
# 1
|
513
|
+
# ],
|
514
|
+
# [
|
515
|
+
# [
|
516
|
+
# "_id",
|
517
|
+
# "UInt32"
|
518
|
+
# ],
|
519
|
+
# [
|
520
|
+
# "_key",
|
521
|
+
# "ShortText"
|
522
|
+
# ],
|
523
|
+
# [
|
524
|
+
# "title",
|
525
|
+
# "ShortText"
|
526
|
+
# ]
|
527
|
+
# ],
|
528
|
+
# [
|
529
|
+
# 1,
|
530
|
+
# "http://example.org/",
|
531
|
+
# "This is test record 1!"
|
532
|
+
# ]
|
533
|
+
# ]
|
534
|
+
# ]
|
535
|
+
# ]
|
269
536
|
</pre></div>
|
270
537
|
</div>
|
271
538
|
</div>
|
272
539
|
<div class="section" id="specify-output-columns">
|
273
540
|
<h2>4.1.13. Specify output columns<a class="headerlink" href="#specify-output-columns" title="Permalink to this headline">¶</a></h2>
|
274
|
-
<p>An <cite>output_columns</cite> parameter of a <a class="reference internal" href="../commands/select.html"><em>select</em></a> command specifies columns to appear in the search result. If you want to specify more than one columns, please separate column names by commas (',').</p>
|
541
|
+
<p>An <cite>output_columns</cite> parameter of a <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> command specifies columns to appear in the search result. If you want to specify more than one columns, please separate column names by commas (',').</p>
|
275
542
|
<p>Execution example:</p>
|
276
|
-
<div class="highlight-none"><div class="highlight"><pre
|
277
|
-
|
543
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Site --output_columns _key,title,_score --query title:@test
|
544
|
+
# [
|
545
|
+
# [
|
546
|
+
# 0,
|
547
|
+
# 1337566253.89858,
|
548
|
+
# 0.000355720520019531
|
549
|
+
# ],
|
550
|
+
# [
|
551
|
+
# [
|
552
|
+
# [
|
553
|
+
# 9
|
554
|
+
# ],
|
555
|
+
# [
|
556
|
+
# [
|
557
|
+
# "_key",
|
558
|
+
# "ShortText"
|
559
|
+
# ],
|
560
|
+
# [
|
561
|
+
# "title",
|
562
|
+
# "ShortText"
|
563
|
+
# ],
|
564
|
+
# [
|
565
|
+
# "_score",
|
566
|
+
# "Int32"
|
567
|
+
# ]
|
568
|
+
# ],
|
569
|
+
# [
|
570
|
+
# "http://example.org/",
|
571
|
+
# "This is test record 1!",
|
572
|
+
# 1
|
573
|
+
# ],
|
574
|
+
# [
|
575
|
+
# "http://example.net/",
|
576
|
+
# "test record 2.",
|
577
|
+
# 1
|
578
|
+
# ],
|
579
|
+
# [
|
580
|
+
# "http://example.com/",
|
581
|
+
# "test test record three.",
|
582
|
+
# 2
|
583
|
+
# ],
|
584
|
+
# [
|
585
|
+
# "http://example.net/afr",
|
586
|
+
# "test record four.",
|
587
|
+
# 1
|
588
|
+
# ],
|
589
|
+
# [
|
590
|
+
# "http://example.org/aba",
|
591
|
+
# "test test test record five.",
|
592
|
+
# 3
|
593
|
+
# ],
|
594
|
+
# [
|
595
|
+
# "http://example.com/rab",
|
596
|
+
# "test test test test record six.",
|
597
|
+
# 4
|
598
|
+
# ],
|
599
|
+
# [
|
600
|
+
# "http://example.net/atv",
|
601
|
+
# "test test test record seven.",
|
602
|
+
# 3
|
603
|
+
# ],
|
604
|
+
# [
|
605
|
+
# "http://example.org/gat",
|
606
|
+
# "test test record eight.",
|
607
|
+
# 2
|
608
|
+
# ],
|
609
|
+
# [
|
610
|
+
# "http://example.com/vdw",
|
611
|
+
# "test test record nine.",
|
612
|
+
# 2
|
613
|
+
# ]
|
614
|
+
# ]
|
615
|
+
# ]
|
616
|
+
# ]
|
278
617
|
</pre></div>
|
279
618
|
</div>
|
280
619
|
<p>This example specifies three output columns including the _score column, which stores the relevance score of each record.</p>
|
281
620
|
</div>
|
282
621
|
<div class="section" id="specify-output-ranges">
|
283
622
|
<h2>4.1.14. Specify output ranges<a class="headerlink" href="#specify-output-ranges" title="Permalink to this headline">¶</a></h2>
|
284
|
-
<p>A <a class="reference internal" href="../commands/select.html"><em>select</em></a> command returns a part of its search result if <cite>offset</cite> and/or <cite>limit</cite> parameters are specified. These parameters are useful to paginate a search result, a widely-used interface which shows a search result on a page by page basis.</p>
|
623
|
+
<p>A <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> command returns a part of its search result if <cite>offset</cite> and/or <cite>limit</cite> parameters are specified. These parameters are useful to paginate a search result, a widely-used interface which shows a search result on a page by page basis.</p>
|
285
624
|
<p>An <cite>offset</cite> parameter specifies the starting point and a <cite>limit</cite> parameter specifies the maximum number of records to be returned. If you need the first record in a search result, the offset parameter must be 0 or omitted.</p>
|
286
625
|
<p>Execution example:</p>
|
287
|
-
<div class="highlight-none"><div class="highlight"><pre
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
626
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Site --offset 0 --limit 3
|
627
|
+
# [
|
628
|
+
# [
|
629
|
+
# 0,
|
630
|
+
# 1337566253.89858,
|
631
|
+
# 0.000355720520019531
|
632
|
+
# ],
|
633
|
+
# [
|
634
|
+
# [
|
635
|
+
# [
|
636
|
+
# 9
|
637
|
+
# ],
|
638
|
+
# [
|
639
|
+
# [
|
640
|
+
# "_id",
|
641
|
+
# "UInt32"
|
642
|
+
# ],
|
643
|
+
# [
|
644
|
+
# "_key",
|
645
|
+
# "ShortText"
|
646
|
+
# ],
|
647
|
+
# [
|
648
|
+
# "title",
|
649
|
+
# "ShortText"
|
650
|
+
# ]
|
651
|
+
# ],
|
652
|
+
# [
|
653
|
+
# 1,
|
654
|
+
# "http://example.org/",
|
655
|
+
# "This is test record 1!"
|
656
|
+
# ],
|
657
|
+
# [
|
658
|
+
# 2,
|
659
|
+
# "http://example.net/",
|
660
|
+
# "test record 2."
|
661
|
+
# ],
|
662
|
+
# [
|
663
|
+
# 3,
|
664
|
+
# "http://example.com/",
|
665
|
+
# "test test record three."
|
666
|
+
# ]
|
667
|
+
# ]
|
668
|
+
# ]
|
669
|
+
# ]
|
670
|
+
select --table Site --offset 3 --limit 3
|
671
|
+
# [
|
672
|
+
# [
|
673
|
+
# 0,
|
674
|
+
# 1337566253.89858,
|
675
|
+
# 0.000355720520019531
|
676
|
+
# ],
|
677
|
+
# [
|
678
|
+
# [
|
679
|
+
# [
|
680
|
+
# 9
|
681
|
+
# ],
|
682
|
+
# [
|
683
|
+
# [
|
684
|
+
# "_id",
|
685
|
+
# "UInt32"
|
686
|
+
# ],
|
687
|
+
# [
|
688
|
+
# "_key",
|
689
|
+
# "ShortText"
|
690
|
+
# ],
|
691
|
+
# [
|
692
|
+
# "title",
|
693
|
+
# "ShortText"
|
694
|
+
# ]
|
695
|
+
# ],
|
696
|
+
# [
|
697
|
+
# 4,
|
698
|
+
# "http://example.net/afr",
|
699
|
+
# "test record four."
|
700
|
+
# ],
|
701
|
+
# [
|
702
|
+
# 5,
|
703
|
+
# "http://example.org/aba",
|
704
|
+
# "test test test record five."
|
705
|
+
# ],
|
706
|
+
# [
|
707
|
+
# 6,
|
708
|
+
# "http://example.com/rab",
|
709
|
+
# "test test test test record six."
|
710
|
+
# ]
|
711
|
+
# ]
|
712
|
+
# ]
|
713
|
+
# ]
|
714
|
+
select --table Site --offset 7 --limit 3
|
715
|
+
# [
|
716
|
+
# [
|
717
|
+
# 0,
|
718
|
+
# 1337566253.89858,
|
719
|
+
# 0.000355720520019531
|
720
|
+
# ],
|
721
|
+
# [
|
722
|
+
# [
|
723
|
+
# [
|
724
|
+
# 9
|
725
|
+
# ],
|
726
|
+
# [
|
727
|
+
# [
|
728
|
+
# "_id",
|
729
|
+
# "UInt32"
|
730
|
+
# ],
|
731
|
+
# [
|
732
|
+
# "_key",
|
733
|
+
# "ShortText"
|
734
|
+
# ],
|
735
|
+
# [
|
736
|
+
# "title",
|
737
|
+
# "ShortText"
|
738
|
+
# ]
|
739
|
+
# ],
|
740
|
+
# [
|
741
|
+
# 8,
|
742
|
+
# "http://example.org/gat",
|
743
|
+
# "test test record eight."
|
744
|
+
# ],
|
745
|
+
# [
|
746
|
+
# 9,
|
747
|
+
# "http://example.com/vdw",
|
748
|
+
# "test test record nine."
|
749
|
+
# ]
|
750
|
+
# ]
|
751
|
+
# ]
|
752
|
+
# ]
|
293
753
|
</pre></div>
|
294
754
|
</div>
|
295
755
|
</div>
|
296
756
|
<div class="section" id="sort-a-search-result">
|
297
757
|
<h2>4.1.15. Sort a search result<a class="headerlink" href="#sort-a-search-result" title="Permalink to this headline">¶</a></h2>
|
298
|
-
<p>A <a class="reference internal" href="../commands/select.html"><em>select</em></a> command sorts its result when used with a <cite>sortby</cite> parameter.</p>
|
758
|
+
<p>A <a class="reference internal" href="../reference/commands/select.html"><em>select</em></a> command sorts its result when used with a <cite>sortby</cite> parameter.</p>
|
299
759
|
<p>A <cite>sortby</cite> parameter specifies a column as a sorting creteria. A search result is arranged in ascending order of the column values. If you want to sort a search result in reverse order, please add a leading hyphen ('-') to the column name in a parameter.</p>
|
300
760
|
<p>The following example shows records in the Site table in reverse order.</p>
|
301
761
|
<p>Execution example:</p>
|
302
|
-
<div class="highlight-none"><div class="highlight"><pre
|
303
|
-
|
762
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Site --sortby -_id
|
763
|
+
# [
|
764
|
+
# [
|
765
|
+
# 0,
|
766
|
+
# 1337566253.89858,
|
767
|
+
# 0.000355720520019531
|
768
|
+
# ],
|
769
|
+
# [
|
770
|
+
# [
|
771
|
+
# [
|
772
|
+
# 9
|
773
|
+
# ],
|
774
|
+
# [
|
775
|
+
# [
|
776
|
+
# "_id",
|
777
|
+
# "UInt32"
|
778
|
+
# ],
|
779
|
+
# [
|
780
|
+
# "_key",
|
781
|
+
# "ShortText"
|
782
|
+
# ],
|
783
|
+
# [
|
784
|
+
# "title",
|
785
|
+
# "ShortText"
|
786
|
+
# ]
|
787
|
+
# ],
|
788
|
+
# [
|
789
|
+
# 9,
|
790
|
+
# "http://example.com/vdw",
|
791
|
+
# "test test record nine."
|
792
|
+
# ],
|
793
|
+
# [
|
794
|
+
# 8,
|
795
|
+
# "http://example.org/gat",
|
796
|
+
# "test test record eight."
|
797
|
+
# ],
|
798
|
+
# [
|
799
|
+
# 7,
|
800
|
+
# "http://example.net/atv",
|
801
|
+
# "test test test record seven."
|
802
|
+
# ],
|
803
|
+
# [
|
804
|
+
# 6,
|
805
|
+
# "http://example.com/rab",
|
806
|
+
# "test test test test record six."
|
807
|
+
# ],
|
808
|
+
# [
|
809
|
+
# 5,
|
810
|
+
# "http://example.org/aba",
|
811
|
+
# "test test test record five."
|
812
|
+
# ],
|
813
|
+
# [
|
814
|
+
# 4,
|
815
|
+
# "http://example.net/afr",
|
816
|
+
# "test record four."
|
817
|
+
# ],
|
818
|
+
# [
|
819
|
+
# 3,
|
820
|
+
# "http://example.com/",
|
821
|
+
# "test test record three."
|
822
|
+
# ],
|
823
|
+
# [
|
824
|
+
# 2,
|
825
|
+
# "http://example.net/",
|
826
|
+
# "test record 2."
|
827
|
+
# ],
|
828
|
+
# [
|
829
|
+
# 1,
|
830
|
+
# "http://example.org/",
|
831
|
+
# "This is test record 1!"
|
832
|
+
# ]
|
833
|
+
# ]
|
834
|
+
# ]
|
835
|
+
# ]
|
304
836
|
</pre></div>
|
305
837
|
</div>
|
306
838
|
<p>The next example uses the _score column as the sorting criteria for ranking the search result. The result is sorted in relevance order.</p>
|
307
839
|
<p>Execution example:</p>
|
308
|
-
<div class="highlight-none"><div class="highlight"><pre
|
309
|
-
|
840
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Site --query title:@test --output_columns _id,_score,title --sortby -_score
|
841
|
+
# [
|
842
|
+
# [
|
843
|
+
# 0,
|
844
|
+
# 1337566253.89858,
|
845
|
+
# 0.000355720520019531
|
846
|
+
# ],
|
847
|
+
# [
|
848
|
+
# [
|
849
|
+
# [
|
850
|
+
# 9
|
851
|
+
# ],
|
852
|
+
# [
|
853
|
+
# [
|
854
|
+
# "_id",
|
855
|
+
# "UInt32"
|
856
|
+
# ],
|
857
|
+
# [
|
858
|
+
# "_score",
|
859
|
+
# "Int32"
|
860
|
+
# ],
|
861
|
+
# [
|
862
|
+
# "title",
|
863
|
+
# "ShortText"
|
864
|
+
# ]
|
865
|
+
# ],
|
866
|
+
# [
|
867
|
+
# 6,
|
868
|
+
# 4,
|
869
|
+
# "test test test test record six."
|
870
|
+
# ],
|
871
|
+
# [
|
872
|
+
# 5,
|
873
|
+
# 3,
|
874
|
+
# "test test test record five."
|
875
|
+
# ],
|
876
|
+
# [
|
877
|
+
# 7,
|
878
|
+
# 3,
|
879
|
+
# "test test test record seven."
|
880
|
+
# ],
|
881
|
+
# [
|
882
|
+
# 8,
|
883
|
+
# 2,
|
884
|
+
# "test test record eight."
|
885
|
+
# ],
|
886
|
+
# [
|
887
|
+
# 3,
|
888
|
+
# 2,
|
889
|
+
# "test test record three."
|
890
|
+
# ],
|
891
|
+
# [
|
892
|
+
# 9,
|
893
|
+
# 2,
|
894
|
+
# "test test record nine."
|
895
|
+
# ],
|
896
|
+
# [
|
897
|
+
# 1,
|
898
|
+
# 1,
|
899
|
+
# "This is test record 1!"
|
900
|
+
# ],
|
901
|
+
# [
|
902
|
+
# 4,
|
903
|
+
# 1,
|
904
|
+
# "test record four."
|
905
|
+
# ],
|
906
|
+
# [
|
907
|
+
# 2,
|
908
|
+
# 1,
|
909
|
+
# "test record 2."
|
910
|
+
# ]
|
911
|
+
# ]
|
912
|
+
# ]
|
913
|
+
# ]
|
310
914
|
</pre></div>
|
311
915
|
</div>
|
312
916
|
<p>If you want to specify more than one columns, please separate column names by commas (','). In such a case, a search result is sorted in order of the values in the first column, and then records having the same values in the first column are sorted in order of the second column values.</p>
|
313
917
|
<p>Execution example:</p>
|
314
|
-
<div class="highlight-none"><div class="highlight"><pre
|
315
|
-
|
918
|
+
<div class="highlight-none"><div class="highlight"><pre>select --table Site --query title:@test --output_columns _id,_score,title --sortby -_score,_id
|
919
|
+
# [
|
920
|
+
# [
|
921
|
+
# 0,
|
922
|
+
# 1337566253.89858,
|
923
|
+
# 0.000355720520019531
|
924
|
+
# ],
|
925
|
+
# [
|
926
|
+
# [
|
927
|
+
# [
|
928
|
+
# 9
|
929
|
+
# ],
|
930
|
+
# [
|
931
|
+
# [
|
932
|
+
# "_id",
|
933
|
+
# "UInt32"
|
934
|
+
# ],
|
935
|
+
# [
|
936
|
+
# "_score",
|
937
|
+
# "Int32"
|
938
|
+
# ],
|
939
|
+
# [
|
940
|
+
# "title",
|
941
|
+
# "ShortText"
|
942
|
+
# ]
|
943
|
+
# ],
|
944
|
+
# [
|
945
|
+
# 6,
|
946
|
+
# 4,
|
947
|
+
# "test test test test record six."
|
948
|
+
# ],
|
949
|
+
# [
|
950
|
+
# 5,
|
951
|
+
# 3,
|
952
|
+
# "test test test record five."
|
953
|
+
# ],
|
954
|
+
# [
|
955
|
+
# 7,
|
956
|
+
# 3,
|
957
|
+
# "test test test record seven."
|
958
|
+
# ],
|
959
|
+
# [
|
960
|
+
# 3,
|
961
|
+
# 2,
|
962
|
+
# "test test record three."
|
963
|
+
# ],
|
964
|
+
# [
|
965
|
+
# 8,
|
966
|
+
# 2,
|
967
|
+
# "test test record eight."
|
968
|
+
# ],
|
969
|
+
# [
|
970
|
+
# 9,
|
971
|
+
# 2,
|
972
|
+
# "test test record nine."
|
973
|
+
# ],
|
974
|
+
# [
|
975
|
+
# 1,
|
976
|
+
# 1,
|
977
|
+
# "This is test record 1!"
|
978
|
+
# ],
|
979
|
+
# [
|
980
|
+
# 2,
|
981
|
+
# 1,
|
982
|
+
# "test record 2."
|
983
|
+
# ],
|
984
|
+
# [
|
985
|
+
# 4,
|
986
|
+
# 1,
|
987
|
+
# "test record four."
|
988
|
+
# ]
|
989
|
+
# ]
|
990
|
+
# ]
|
991
|
+
# ]
|
316
992
|
</pre></div>
|
317
993
|
</div>
|
318
994
|
<p class="rubric">footnote</p>
|
@@ -393,7 +1069,7 @@ Form_2: COMMAND --NAME_1 VALUE_1 --NAME_2 VALUE_2 ..
|
|
393
1069
|
<li class="right" >
|
394
1070
|
<a href="../tutorial.html" title="4. Tutorial"
|
395
1071
|
>previous</a> |</li>
|
396
|
-
<li><a href="../index.html">groonga v2.0.
|
1072
|
+
<li><a href="../index.html">groonga v2.0.5-316-g23cc017 documentation</a> »</li>
|
397
1073
|
<li><a href="../tutorial.html" >4. Tutorial</a> »</li>
|
398
1074
|
</ul>
|
399
1075
|
</div>
|