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
data/lib/groonga/schema.rb
CHANGED
@@ -21,7 +21,7 @@ module Groonga
|
|
21
21
|
|
22
22
|
# groongaのスキーマ(データ構造)を管理するクラス。
|
23
23
|
#
|
24
|
-
# Groonga::Schemaを使うことにより簡単にテーブルやカラムを
|
24
|
+
# {Groonga::Schema} を使うことにより簡単にテーブルやカラムを
|
25
25
|
# 追加・削除することができる。
|
26
26
|
#
|
27
27
|
# !http://qwik.jp/senna/senna2.files/rect4605.png!
|
@@ -148,11 +148,12 @@ module Groonga
|
|
148
148
|
|
149
149
|
class << self
|
150
150
|
|
151
|
-
# スキーマを定義する。ブロックにはGroonga::Schemaオブ
|
151
|
+
# スキーマを定義する。ブロックには {Groonga::Schema} オブ
|
152
152
|
# ジェクトがわたるので、そのオブジェクトを利用してスキー
|
153
153
|
# マを定義する。以下の省略形。
|
154
154
|
#
|
155
155
|
# <pre>
|
156
|
+
# !!!ruby
|
156
157
|
# schema = Groonga::Scheme.new(options)
|
157
158
|
# # ...
|
158
159
|
# schema.define
|
@@ -162,20 +163,25 @@ module Groonga
|
|
162
163
|
# pairs. Omitted names are initialized as the default value.
|
163
164
|
# @option options [Groonga::Context] :content (Groonga::Context.default) The context
|
164
165
|
#
|
165
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
166
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
166
167
|
def define(options={})
|
167
168
|
schema = new(options)
|
168
169
|
yield(schema)
|
169
170
|
schema.define
|
170
171
|
end
|
171
172
|
|
172
|
-
#
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
176
|
-
#
|
177
|
-
#
|
178
|
-
#
|
173
|
+
# 名前が _name_ のテーブルを作成する。以下の省略形。
|
174
|
+
#
|
175
|
+
# <pre>
|
176
|
+
# !!!ruby
|
177
|
+
# Groonga::Schema.define do |schema|
|
178
|
+
# schema.create_table(name, options) do |table|
|
179
|
+
# # ...
|
180
|
+
# end
|
181
|
+
# end
|
182
|
+
# </pre>
|
183
|
+
#
|
184
|
+
# ブロックには {Groonga::Schema::TableDefinition} オブジェ
|
179
185
|
# クトがわたるので、そのオブジェクトを利用してテーブル
|
180
186
|
# の詳細を定義する。
|
181
187
|
#
|
@@ -195,7 +201,7 @@ module Groonga
|
|
195
201
|
# (:key_typeの項も参照)
|
196
202
|
# @option options [Groonga::Context] :context (Groonga::Context.default) The context
|
197
203
|
#
|
198
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
204
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
199
205
|
# @option options :path The path
|
200
206
|
#
|
201
207
|
# テーブルを保存するパスを指定する。
|
@@ -210,8 +216,8 @@ module Groonga
|
|
210
216
|
# 値を保存したい場合は必ず指定すること。
|
211
217
|
# @option options :sub_records The sub_records
|
212
218
|
#
|
213
|
-
# +true+ を指定するとGroonga::Table#groupで
|
214
|
-
# グループ化したときに、Groonga::Record#n_sub_recordsでグループに
|
219
|
+
# +true+ を指定すると {Groonga::Table#group} で
|
220
|
+
# グループ化したときに、 {Groonga::Record#n_sub_records} でグループに
|
215
221
|
# 含まれるレコードの件数を取得できる。
|
216
222
|
#
|
217
223
|
# @overload create_table(name, options= {:type => :hash}, &block)
|
@@ -229,7 +235,7 @@ module Groonga
|
|
229
235
|
# (:key_typeの項も参照)
|
230
236
|
# @option options [Groonga::Context] :context (Groonga::Context.default) The context
|
231
237
|
#
|
232
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
238
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
233
239
|
# @option options :path The path
|
234
240
|
#
|
235
241
|
# テーブルを保存するパスを指定する。
|
@@ -244,29 +250,29 @@ module Groonga
|
|
244
250
|
# 値を保存したい場合は必ず指定すること。
|
245
251
|
# @option options :sub_records The sub_records
|
246
252
|
#
|
247
|
-
# +true+ を指定するとGroonga::Table#groupで
|
248
|
-
# グループ化したときに、Groonga::Record#n_sub_recordsでグループに
|
253
|
+
# +true+ を指定すると {Groonga::Table#group} で
|
254
|
+
# グループ化したときに、 {Groonga::Record#n_sub_records} でグループに
|
249
255
|
# 含まれるレコードの件数を取得できる。
|
250
256
|
# @option options :key_type The key_type
|
251
257
|
#
|
252
258
|
# キーの種類を示すオブジェクトを指定する。
|
253
|
-
# キーの種類には型名("Int32"や"ShortText"など)またはGroonga::Type
|
254
|
-
# またはテーブル(Groonga::Array、Groonga::Hash、
|
255
|
-
# Groonga::PatriciaTrie、Groonga::DoubleArrayTrieの
|
256
|
-
# どれか)を指定する。Groonga::Typeを指定した場合は、その型が示す範囲の
|
259
|
+
# キーの種類には型名("Int32"や"ShortText"など)または {Groonga::Type}
|
260
|
+
# またはテーブル( {Groonga::Array} 、 {Groonga::Hash} 、
|
261
|
+
# {Groonga::PatriciaTrie} 、 {Groonga::DoubleArrayTrie} の
|
262
|
+
# どれか)を指定する。 {Groonga::Type} を指定した場合は、その型が示す範囲の
|
257
263
|
# 値をキーとして使用する。ただし、キーの最大サイズは4096バイトで
|
258
|
-
# あるため、Groonga::Type::TEXTやGroonga::Type::LONG_TEXTは使用できない
|
264
|
+
# あるため、 {Groonga::Type::TEXT} や {Groonga::Type::LONG_TEXT} は使用できない
|
259
265
|
# 。テーブルを指定した場合はレコードIDをキーとして使用する。
|
260
|
-
# 指定したテーブルのGroonga::Recordをキーとして使用することもでき、
|
261
|
-
# その場合は自動的にGroonga::RecordからレコードIDを取得する。
|
266
|
+
# 指定したテーブルの {Groonga::Record} をキーとして使用することもでき、
|
267
|
+
# その場合は自動的に {Groonga::Record} からレコードIDを取得する。
|
262
268
|
# 省略した場合は文字列をキーとして使用する。
|
263
269
|
# この場合、4096バイトまで使用可能である。
|
264
270
|
# @option options :default_tokenizer The default_tokenizer
|
265
271
|
#
|
266
|
-
# Groonga::IndexColumnで
|
272
|
+
# {Groonga::IndexColumn} で
|
267
273
|
# 使用するトークナイザを指定する。デフォルトでは
|
268
274
|
# 何も設定されていないので、テーブルに
|
269
|
-
# Groonga::IndexColumn
|
275
|
+
# {Groonga::IndexColumn} を定義する場合は @"TokenBigram"@
|
270
276
|
# などを指定する必要がある。
|
271
277
|
# @option options :key_normalize The key_normalize
|
272
278
|
#
|
@@ -287,7 +293,7 @@ module Groonga
|
|
287
293
|
# (:key_typeの項も参照)
|
288
294
|
# @option options [Groonga::Context] :context (Groonga::Context.default) The context
|
289
295
|
#
|
290
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
296
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
291
297
|
# @option options :path The path
|
292
298
|
#
|
293
299
|
# テーブルを保存するパスを指定する。
|
@@ -302,8 +308,8 @@ module Groonga
|
|
302
308
|
# 値を保存したい場合は必ず指定すること。
|
303
309
|
# @option options :sub_records The sub_records
|
304
310
|
#
|
305
|
-
# +true+ を指定するとGroonga::Table#groupで
|
306
|
-
# グループ化したときに、Groonga::Record#n_sub_recordsでグループに
|
311
|
+
# +true+ を指定すると {Groonga::Table#group} で
|
312
|
+
# グループ化したときに、 {Groonga::Record#n_sub_records} でグループに
|
307
313
|
# 含まれるレコードの件数を取得できる。
|
308
314
|
# @option options :key_normalize The key_normalize
|
309
315
|
#
|
@@ -322,7 +328,7 @@ module Groonga
|
|
322
328
|
# pairs. Omitted names are initialized as the default value.
|
323
329
|
# @option options :context (Groonga::Context.default)
|
324
330
|
#
|
325
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
331
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
326
332
|
def remove_table(name, options={})
|
327
333
|
define do |schema|
|
328
334
|
schema.remove_table(name, options)
|
@@ -332,6 +338,7 @@ module Groonga
|
|
332
338
|
# 名前が _name_ のテーブルを変更する。以下の省略形。
|
333
339
|
#
|
334
340
|
# <pre>
|
341
|
+
# !!!ruby
|
335
342
|
# Groonga::Schema.define do |schema|
|
336
343
|
# schema.change_table(name, options) do |table|
|
337
344
|
# # ...
|
@@ -339,7 +346,7 @@ module Groonga
|
|
339
346
|
# end
|
340
347
|
# </pre>
|
341
348
|
#
|
342
|
-
# ブロックにはGroonga::Schema::TableDefinitionオブジェ
|
349
|
+
# ブロックには {Groonga::Schema::TableDefinition} オブジェ
|
343
350
|
# クトがわたるので、そのオブジェクトを利用してテーブル
|
344
351
|
# の詳細を定義する。
|
345
352
|
#
|
@@ -347,7 +354,7 @@ module Groonga
|
|
347
354
|
# pairs. Omitted names are initialized as the default value.
|
348
355
|
# @option options :context (Groonga::Context.default) The context
|
349
356
|
#
|
350
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
357
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
351
358
|
def change_table(name, options={}, &block)
|
352
359
|
define do |schema|
|
353
360
|
schema.change_table(name, options, &block)
|
@@ -359,6 +366,7 @@ module Groonga
|
|
359
366
|
# This is a syntax sugar of the following code:
|
360
367
|
#
|
361
368
|
# <pre>
|
369
|
+
# !!!ruby
|
362
370
|
# Groonga::Schema.define do |schema|
|
363
371
|
# schema.rename_table(current_name, new_name, options)
|
364
372
|
# end
|
@@ -372,13 +380,14 @@ module Groonga
|
|
372
380
|
# 名前が_name_のビューを作成する。以下の省略形。
|
373
381
|
#
|
374
382
|
# <pre>
|
383
|
+
# !!!ruby
|
375
384
|
# Groonga::Schema.define do |schema|
|
376
385
|
# schema.create_view(name, options) do |view|
|
377
386
|
# # ...
|
378
387
|
# end
|
379
388
|
# end
|
380
389
|
# </pre>
|
381
|
-
# ブロックにはGroonga::Schema::ViewDefinitionオブジェ
|
390
|
+
# ブロックには {Groonga::Schema::ViewDefinition} オブジェ
|
382
391
|
# クトがわたるので、そのオブジェクトを利用してビュー
|
383
392
|
# の詳細を定義する。
|
384
393
|
#
|
@@ -390,7 +399,7 @@ module Groonga
|
|
390
399
|
# 存在していても、強制的にビューを作成する。
|
391
400
|
# @option options :context (Groonga::Context.default) The context
|
392
401
|
#
|
393
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
402
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
394
403
|
# @option options :path The path
|
395
404
|
#
|
396
405
|
# ビューを保存するパスを指定する。
|
@@ -411,16 +420,17 @@ module Groonga
|
|
411
420
|
# @param options [::Hash] The name and value
|
412
421
|
# pairs. Omitted names are initialized as the default value.
|
413
422
|
# @option options :context (Groonga::context.default) The context
|
414
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
423
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
415
424
|
def remove_view(name, options={})
|
416
425
|
define do |schema|
|
417
426
|
schema.remove_view(name, options)
|
418
427
|
end
|
419
428
|
end
|
420
429
|
|
421
|
-
# 名前が_name_のビューを変更する。以下の省略形。
|
430
|
+
# 名前が _name_ のビューを変更する。以下の省略形。
|
422
431
|
#
|
423
432
|
# <pre>
|
433
|
+
# !!!ruby
|
424
434
|
# Groonga::Schema.define do |schema|
|
425
435
|
# schema.change_view(name, options) do |view|
|
426
436
|
# # ...
|
@@ -428,7 +438,7 @@ module Groonga
|
|
428
438
|
# end
|
429
439
|
# </pre>
|
430
440
|
#
|
431
|
-
# ブロックにはGroonga::Schema::ViewDefinitionオブジェ
|
441
|
+
# ブロックには {Groonga::Schema::ViewDefinition} オブジェ
|
432
442
|
# クトがわたるので、そのオブジェクトを利用してテーブル
|
433
443
|
# の詳細を定義する。
|
434
444
|
#
|
@@ -436,7 +446,7 @@ module Groonga
|
|
436
446
|
# pairs. Omitted names are initialized as the default value.
|
437
447
|
# @option options :context (Groonga::Context.default) The context
|
438
448
|
#
|
439
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
449
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
440
450
|
def change_view(name, options={}, &block)
|
441
451
|
define do |schema|
|
442
452
|
schema.change_view(name, options, &block)
|
@@ -446,6 +456,7 @@ module Groonga
|
|
446
456
|
# 以下と同様:
|
447
457
|
#
|
448
458
|
# <pre>
|
459
|
+
# !!!ruby
|
449
460
|
# Groonga::Schema.change_table(table_name) do |table|
|
450
461
|
# table.remove_column(column_name)
|
451
462
|
# end
|
@@ -459,6 +470,7 @@ module Groonga
|
|
459
470
|
# This is a syntax sugar of the following:
|
460
471
|
#
|
461
472
|
# <pre>
|
473
|
+
# !!!ruby
|
462
474
|
# Groonga::Schema.define do |schema|
|
463
475
|
# schema.rename_column(table_name,
|
464
476
|
# current_column_name, new_column_name)
|
@@ -473,12 +485,13 @@ module Groonga
|
|
473
485
|
# スキーマの内容を文字列をRubyスクリプト形式またはgrn式
|
474
486
|
# 形式で返す。デフォルトはRubyスクリプト形式である。
|
475
487
|
# Rubyスクリプト形式で返された値は
|
476
|
-
# Groonga::Schema.restoreすることによりスキーマ内に組み
|
488
|
+
# {Groonga::Schema.restore} することによりスキーマ内に組み
|
477
489
|
# 込むことができる。
|
478
490
|
#
|
479
491
|
# dump.rb:
|
480
492
|
#
|
481
493
|
# <pre>
|
494
|
+
# !!!ruby
|
482
495
|
# File.open("/tmp/groonga-schema.rb", "w") do |schema|
|
483
496
|
# dumped_text = Groonga::Schema.dump
|
484
497
|
# end
|
@@ -487,6 +500,7 @@ module Groonga
|
|
487
500
|
# restore.rb:
|
488
501
|
#
|
489
502
|
# <pre>
|
503
|
+
# !!!ruby
|
490
504
|
# dumped_text = Groonga::Schema.dump
|
491
505
|
# Groonga::Database.create(:path => "/tmp/new-db.grn")
|
492
506
|
# Groonga::Schema.restore(dumped_text)
|
@@ -498,6 +512,7 @@ module Groonga
|
|
498
512
|
# dump.rb:
|
499
513
|
#
|
500
514
|
# <pre>
|
515
|
+
# !!!ruby
|
501
516
|
# File.open("/tmp/groonga-schema.grn", "w") do |schema|
|
502
517
|
# dumped_text = Groonga::Schema.dump(:syntax => :command)
|
503
518
|
# end
|
@@ -512,7 +527,7 @@ module Groonga
|
|
512
527
|
# pairs. Omitted names are initialized as the default value.
|
513
528
|
# @option options :context (Groonga::Context.default) The context
|
514
529
|
#
|
515
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
530
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
516
531
|
# @option options :syntax The syntax
|
517
532
|
#
|
518
533
|
# スキーマの文字列の形式を指定する。指定可能な値は以下の通り。
|
@@ -526,13 +541,14 @@ module Groonga
|
|
526
541
|
schema.dump
|
527
542
|
end
|
528
543
|
|
529
|
-
# Groonga::Schema.dumpで文字列化したスキーマを組み込む。
|
544
|
+
# {Groonga::Schema.dump} で文字列化したスキーマを組み込む。
|
530
545
|
def restore(dumped_text, options={})
|
531
546
|
define(options) do |schema|
|
532
547
|
schema.restore(dumped_text)
|
533
548
|
end
|
534
549
|
end
|
535
550
|
|
551
|
+
# @private
|
536
552
|
NORMALIZE_TYPE_TABLE = {
|
537
553
|
"short_text" => "ShortText",
|
538
554
|
"string" => "ShortText",
|
@@ -616,7 +632,7 @@ module Groonga
|
|
616
632
|
# @param options [::Hash] The name and value
|
617
633
|
# pairs. Omitted names are initialized as the default value.
|
618
634
|
# @option options :context (Groonga::Context.default) The context
|
619
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
635
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
620
636
|
def initialize(options={})
|
621
637
|
@options = (options || {}).dup
|
622
638
|
@options[:context] ||= Groonga::Context.default
|
@@ -630,9 +646,9 @@ module Groonga
|
|
630
646
|
end
|
631
647
|
end
|
632
648
|
|
633
|
-
# Groonga::Schema#dumpで返されたスキーマの内容を読み込む。
|
649
|
+
# {Groonga::Schema#dump} で返されたスキーマの内容を読み込む。
|
634
650
|
#
|
635
|
-
#
|
651
|
+
# 読み込まれた内容は {#define} を呼び出すまでは実行されない
|
636
652
|
# ことに注意すること。
|
637
653
|
def restore(dumped_text)
|
638
654
|
instance_eval(dumped_text)
|
@@ -642,7 +658,7 @@ module Groonga
|
|
642
658
|
alias_method :load, :restore
|
643
659
|
|
644
660
|
# スキーマの内容を文字列で返す。返された値は
|
645
|
-
# Groonga::Schema#restoreすることによりスキーマ内に組み込むことができる。
|
661
|
+
# {Groonga::Schema#restore} することによりスキーマ内に組み込むことができる。
|
646
662
|
def dump
|
647
663
|
dumper = SchemaDumper.new(:context => @options[:context],
|
648
664
|
:syntax => @options[:syntax] || :ruby)
|
@@ -651,7 +667,7 @@ module Groonga
|
|
651
667
|
|
652
668
|
# 名前が _name_ のテーブルを作成する。
|
653
669
|
#
|
654
|
-
#
|
670
|
+
# テーブルの作成は {#define} を呼び出すまでは実行されないこ
|
655
671
|
# とに注意すること。
|
656
672
|
# @overload create_table(name, options= {:type => :array})
|
657
673
|
# :typeにデフォルトの:arrayを使用した場合
|
@@ -668,10 +684,10 @@ module Groonga
|
|
668
684
|
# +:double_array_trie+ のいずれかを指定する。
|
669
685
|
# @option options [Groonga::Context] :context The context.
|
670
686
|
#
|
671
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
672
|
-
# 省略した場合はGroonga::Schema.newで指定した
|
673
|
-
# Groonga::Contextを使用する。Groonga::Schema.newで指
|
674
|
-
# 定していない場合はGroonga::Context.defaultを使用する。
|
687
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
688
|
+
# 省略した場合は {Groonga::Schema.new} で指定した
|
689
|
+
# {Groonga::Context} を使用する。 {Groonga::Schema.new} で指
|
690
|
+
# 定していない場合は {Groonga::Context.default} を使用する。
|
675
691
|
# @option options :path The path
|
676
692
|
#
|
677
693
|
# テーブルを保存するパスを指定する。パスを指定すると
|
@@ -685,11 +701,11 @@ module Groonga
|
|
685
701
|
#
|
686
702
|
# 値の型を指定する。省略すると値のための領域を確保しない。
|
687
703
|
# 値を保存したい場合は必ず指定すること。
|
688
|
-
# 参考: Groonga::Type.new
|
704
|
+
# 参考: {Groonga::Type.new}
|
689
705
|
# @option options :sub_records The sub_records
|
690
706
|
#
|
691
|
-
# +true+ を指定するとGroonga::Table#groupでグループ化
|
692
|
-
# したときに、Groonga::Record#n_sub_recordsでグループに
|
707
|
+
# +true+ を指定すると {Groonga::Table#group} でグループ化
|
708
|
+
# したときに、 {Groonga::Record#n_sub_records} でグループに
|
693
709
|
# 含まれるレコードの件数を取得できる。
|
694
710
|
#
|
695
711
|
# @overload create_table(name, options= {:type => :hash})
|
@@ -707,10 +723,10 @@ module Groonga
|
|
707
723
|
# +:double_array_trie+ のいずれかを指定する。
|
708
724
|
# @option options [Groonga::Context] :context The context
|
709
725
|
#
|
710
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
711
|
-
# 省略した場合はGroonga::Schema.newで指定した
|
712
|
-
# Groonga::Contextを使用する。Groonga::Schema.newで指
|
713
|
-
# 定していない場合はGroonga::Context.defaultを使用する。
|
726
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
727
|
+
# 省略した場合は {Groonga::Schema.new} で指定した
|
728
|
+
# {Groonga::Context} を使用する。 {Groonga::Schema.new} で指
|
729
|
+
# 定していない場合は {Groonga::Context.default} を使用する。
|
714
730
|
# @option options :path The path
|
715
731
|
#
|
716
732
|
# テーブルを保存するパスを指定する。パスを指定すると
|
@@ -724,39 +740,39 @@ module Groonga
|
|
724
740
|
#
|
725
741
|
# 値の型を指定する。省略すると値のための領域を確保しない。
|
726
742
|
# 値を保存したい場合は必ず指定すること。
|
727
|
-
# 参考: Groonga::Type.new
|
743
|
+
# 参考: {Groonga::Type.new}
|
728
744
|
# @option options :sub_records The sub_records
|
729
745
|
#
|
730
|
-
# +true+ を指定するとGroonga::Table#groupでグループ化
|
731
|
-
# したときに、Groonga::Record#n_sub_recordsでグループに
|
746
|
+
# +true+ を指定すると {Groonga::Table#group} でグループ化
|
747
|
+
# したときに、 {Groonga::Record#n_sub_records} でグループに
|
732
748
|
# 含まれるレコードの件数を取得できる。
|
733
749
|
# @option options :key_type The key_type
|
734
750
|
#
|
735
751
|
# キーの種類を示すオブジェクトを指定する。
|
736
752
|
# キーの種類には型名("Int32"や"ShortText"など)または
|
737
|
-
# Groonga::Typeまたはテーブル(Groonga::Array、
|
738
|
-
# Groonga::Hash、Groonga::PatriciaTrie、
|
739
|
-
# Groonga::DoubleArrayTrieのどれか)を指定する。
|
753
|
+
# {Groonga::Type} またはテーブル( {Groonga::Array} 、
|
754
|
+
# {Groonga::Hash} 、 {Groonga::PatriciaTrie} 、
|
755
|
+
# {Groonga::DoubleArrayTrie} のどれか)を指定する。
|
740
756
|
#
|
741
|
-
# Groonga::Typeを指定した場合は、その型が示す範囲の
|
757
|
+
# {Groonga::Type} を指定した場合は、その型が示す範囲の
|
742
758
|
# 値をキーとして使用する。ただし、キーの最大サイズは
|
743
|
-
# 4096バイトであるため、Groonga::Type::TEXTや
|
744
|
-
# Groonga::Type::LONG_TEXTは使用できない。
|
759
|
+
# 4096バイトであるため、 {Groonga::Type::TEXT} や
|
760
|
+
# {Groonga::Type::LONG_TEXT} は使用できない。
|
745
761
|
#
|
746
762
|
# テーブルを指定した場合はレコードIDをキーとして使用
|
747
|
-
# する。指定したテーブルのGroonga::Recordをキーとし
|
763
|
+
# する。指定したテーブルの {Groonga::Record} をキーとし
|
748
764
|
# て使用することもでき、その場合は自動的に
|
749
|
-
# Groonga::RecordからレコードIDを取得する。
|
765
|
+
# {Groonga::Record} からレコードIDを取得する。
|
750
766
|
#
|
751
767
|
# 省略した場合は文字列をキーとして使用する。この場合、
|
752
768
|
# 4096バイトまで使用可能である。
|
753
769
|
#
|
754
770
|
# @option options :default_tokenizer The default_tokenizer
|
755
771
|
#
|
756
|
-
# Groonga::IndexColumnで使用するトークナイザを指定する。
|
772
|
+
# {Groonga::IndexColumn} で使用するトークナイザを指定する。
|
757
773
|
# デフォルトでは何も設定されていないので、テーブルに
|
758
|
-
# Groonga::IndexColumnを定義する場合は
|
759
|
-
#
|
774
|
+
# {Groonga::IndexColumn} を定義する場合は
|
775
|
+
# @"TokenBigram"@ などを指定する必要がある。
|
760
776
|
#
|
761
777
|
# @overload create_table(name, options= {:type => :double_array_trie})
|
762
778
|
# :typeに:double_array_trieを使用した場合
|
@@ -768,10 +784,10 @@ module Groonga
|
|
768
784
|
# 存在していても、強制的にテーブルを作成する。
|
769
785
|
# @option options [Groonga::Context] :context The context
|
770
786
|
#
|
771
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
772
|
-
# 省略した場合はGroonga::Schema.newで指定した
|
773
|
-
# Groonga::Contextを使用する。Groonga::Schema.newで指
|
774
|
-
# 定していない場合はGroonga::Context.defaultを使用する。
|
787
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
788
|
+
# 省略した場合は {Groonga::Schema.new} で指定した
|
789
|
+
# {Groonga::Context} を使用する。 {Groonga::Schema.new} で指
|
790
|
+
# 定していない場合は {Groonga::Context.default} を使用する。
|
775
791
|
# @option options :path The path
|
776
792
|
#
|
777
793
|
# テーブルを保存するパスを指定する。パスを指定すると
|
@@ -785,11 +801,11 @@ module Groonga
|
|
785
801
|
#
|
786
802
|
# 値の型を指定する。省略すると値のための領域を確保しない。
|
787
803
|
# 値を保存したい場合は必ず指定すること。
|
788
|
-
# 参考: Groonga::Type.new
|
804
|
+
# 参考: {Groonga::Type.new}
|
789
805
|
# @option options :sub_records The sub_records
|
790
806
|
#
|
791
|
-
# +true+ を指定するとGroonga::Table#groupでグループ化
|
792
|
-
# したときに、Groonga::Record#n_sub_recordsでグループに
|
807
|
+
# +true+ を指定すると {Groonga::Table#group} でグループ化
|
808
|
+
# したときに、 {Groonga::Record#n_sub_records} でグループに
|
793
809
|
# 含まれるレコードの件数を取得できる。
|
794
810
|
# @option options :key_normalize The key_normalize
|
795
811
|
#
|
@@ -798,28 +814,28 @@ module Groonga
|
|
798
814
|
#
|
799
815
|
# キーの種類を示すオブジェクトを指定する。
|
800
816
|
# キーの種類には型名("Int32"や"ShortText"など)または
|
801
|
-
# Groonga::Typeまたはテーブル(Groonga::Array、
|
802
|
-
# Groonga::Hash、Groonga::PatriciaTrie、
|
803
|
-
# Groonga::DoubleArrayTrieのどれか)を指定する。
|
817
|
+
# {Groonga::Type} またはテーブル( {Groonga::Array} 、
|
818
|
+
# {Groonga::Hash} 、 {Groonga::PatriciaTrie} 、
|
819
|
+
# {Groonga::DoubleArrayTrie} のどれか)を指定する。
|
804
820
|
#
|
805
|
-
# Groonga::Typeを指定した場合は、その型が示す範囲の
|
821
|
+
# {Groonga::Type} を指定した場合は、その型が示す範囲の
|
806
822
|
# 値をキーとして使用する。ただし、キーの最大サイズは
|
807
|
-
# 4096バイトであるため、Groonga::Type::TEXTや
|
808
|
-
# Groonga::Type::LONG_TEXTは使用できない。
|
823
|
+
# 4096バイトであるため、 {Groonga::Type::TEXT} や
|
824
|
+
# {Groonga::Type::LONG_TEXT} は使用できない。
|
809
825
|
#
|
810
826
|
# テーブルを指定した場合はレコードIDをキーとして使用
|
811
|
-
# する。指定したテーブルのGroonga::Recordをキーとし
|
827
|
+
# する。指定したテーブルの {Groonga::Record} をキーとし
|
812
828
|
# て使用することもでき、その場合は自動的に
|
813
|
-
# Groonga::RecordからレコードIDを取得する。
|
829
|
+
# {Groonga::Record} からレコードIDを取得する。
|
814
830
|
#
|
815
831
|
# 省略した場合は文字列をキーとして使用する。この場合、
|
816
832
|
# 4096バイトまで使用可能である。
|
817
833
|
# @option options :default_tokenizer The default_tokenizer
|
818
834
|
#
|
819
|
-
# Groonga::IndexColumnで使用するトークナイザを指定する。
|
835
|
+
# {Groonga::IndexColumn} で使用するトークナイザを指定する。
|
820
836
|
# デフォルトでは何も設定されていないので、テーブルに
|
821
|
-
# Groonga::IndexColumnを定義する場合は
|
822
|
-
#
|
837
|
+
# {Groonga::IndexColumn} を定義する場合は
|
838
|
+
# @"TokenBigram"@ などを指定する必要がある。
|
823
839
|
def create_table(name, options={})
|
824
840
|
definition = TableDefinition.new(name, @options.merge(options || {}))
|
825
841
|
yield(definition) if block_given?
|
@@ -828,14 +844,14 @@ module Groonga
|
|
828
844
|
|
829
845
|
# 名前が _name_ のテーブルを削除する。
|
830
846
|
#
|
831
|
-
# テーブルの削除は#defineを呼び出すまでは実行されないこ
|
847
|
+
# テーブルの削除は# {define} を呼び出すまでは実行されないこ
|
832
848
|
# とに注意すること。
|
833
849
|
#
|
834
850
|
# @param options [::Hash] The name and value
|
835
851
|
# pairs. Omitted names are initialized as the default value.
|
836
852
|
# @option options :context (Groonga::Context.default) The context
|
837
853
|
#
|
838
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
854
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
839
855
|
def remove_table(name, options={})
|
840
856
|
definition = TableRemoveDefinition.new(name, @options.merge(options || {}))
|
841
857
|
@definitions << definition
|
@@ -843,14 +859,14 @@ module Groonga
|
|
843
859
|
|
844
860
|
# 名前が _name_ のテーブルを変更する。
|
845
861
|
#
|
846
|
-
# テーブルの変更は #define を呼び出すまでは実行されないこ
|
862
|
+
# テーブルの変更は {#define} を呼び出すまでは実行されないこ
|
847
863
|
# とに注意すること。
|
848
864
|
#
|
849
865
|
# @param options [::Hash] The name and value
|
850
866
|
# pairs. Omitted names are initialized as the default value.
|
851
867
|
# @option options :context (Groonga::Context.default) The context
|
852
868
|
#
|
853
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
869
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
854
870
|
def change_table(name, options={})
|
855
871
|
options = @options.merge(options || {}).merge(:change => true)
|
856
872
|
definition = TableDefinition.new(name, options)
|
@@ -866,7 +882,7 @@ module Groonga
|
|
866
882
|
# @param options [::Hash] The name and value
|
867
883
|
# pairs. Omitted names are initialized as the default value.
|
868
884
|
# @option options :context (Groonga::Context.default)
|
869
|
-
# The Groonga::Context to be used in renaming.
|
885
|
+
# The {Groonga::Context} to be used in renaming.
|
870
886
|
def rename_table(current_name, new_name, options={})
|
871
887
|
options = @options.merge(options || {})
|
872
888
|
definition = TableRenameDefinition.new(current_name, new_name, options)
|
@@ -875,7 +891,7 @@ module Groonga
|
|
875
891
|
|
876
892
|
# 名前が _name_ のビューを作成する。
|
877
893
|
#
|
878
|
-
# ビューの作成は #define を呼び出すまでは実行されないこ
|
894
|
+
# ビューの作成は {#define} を呼び出すまでは実行されないこ
|
879
895
|
# とに注意すること。
|
880
896
|
#
|
881
897
|
# @param options [::Hash] The name and value
|
@@ -886,9 +902,9 @@ module Groonga
|
|
886
902
|
# ビューが存在していても、強制的にビューを作成する。
|
887
903
|
# @option options [Groonga::Context] :context (Groonga::Schema.new) The context
|
888
904
|
#
|
889
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
890
|
-
# Groonga::Schema.newで指定していない場合は
|
891
|
-
# Groonga::Context.defaultを使用する。
|
905
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
906
|
+
# {Groonga::Schema.new} で指定していない場合は
|
907
|
+
# {Groonga::Context.default} を使用する。
|
892
908
|
# @option options :path The path
|
893
909
|
#
|
894
910
|
# テーブルを保存するパスを指定する。パスを指定すると
|
@@ -905,7 +921,7 @@ module Groonga
|
|
905
921
|
|
906
922
|
# 名前が _name_ のビューを削除する。
|
907
923
|
#
|
908
|
-
# ビューの削除は #define を呼び出すまでは実行されないことに
|
924
|
+
# ビューの削除は {#define} を呼び出すまでは実行されないことに
|
909
925
|
# 注意すること。
|
910
926
|
#
|
911
927
|
# @param options [::Hash] The name and value
|
@@ -913,7 +929,7 @@ module Groonga
|
|
913
929
|
# @option options [Groonga::Context] :context (Groonga::Context.default)
|
914
930
|
# The context
|
915
931
|
#
|
916
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
932
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
917
933
|
def remove_view(name, options={})
|
918
934
|
definition = ViewRemoveDefinition.new(name, @options.merge(options || {}))
|
919
935
|
@definitions << definition
|
@@ -921,14 +937,14 @@ module Groonga
|
|
921
937
|
|
922
938
|
# 名前が _name_ のビューを変更する。
|
923
939
|
#
|
924
|
-
# ビューの変更は #define を呼び出すまでは実行されないこ
|
940
|
+
# ビューの変更は {#define} を呼び出すまでは実行されないこ
|
925
941
|
# とに注意すること。
|
926
942
|
#
|
927
943
|
# @param options [::Hash] The name and value
|
928
944
|
# pairs. Omitted names are initialized as the default value.
|
929
945
|
# @option options :context (Groonga::Context.default) The context
|
930
946
|
#
|
931
|
-
# スキーマ定義時に使用するGroonga::Contextを指定する。
|
947
|
+
# スキーマ定義時に使用する {Groonga::Context} を指定する。
|
932
948
|
def change_view(name, options={})
|
933
949
|
options = @options.merge(options || {}).merge(:change => true)
|
934
950
|
definition = ViewDefinition.new(name, options)
|
@@ -939,6 +955,7 @@ module Groonga
|
|
939
955
|
# 以下と同様:
|
940
956
|
#
|
941
957
|
# <pre>
|
958
|
+
# !!!ruby
|
942
959
|
# schema.change_table(table_name) do |table|
|
943
960
|
# table.remove_column(column_name)
|
944
961
|
# end
|
@@ -952,6 +969,7 @@ module Groonga
|
|
952
969
|
# It is a syntax sugar of the following:
|
953
970
|
#
|
954
971
|
# <pre>
|
972
|
+
# !!!ruby
|
955
973
|
# schema.change_table(table_name) do |table|
|
956
974
|
# table.rename_column(current_column_name, new_column_name)
|
957
975
|
# end
|
@@ -991,8 +1009,8 @@ module Groonga
|
|
991
1009
|
end
|
992
1010
|
end
|
993
1011
|
|
994
|
-
# スキーマ定義時にGroonga::Schema.create_tableや
|
995
|
-
# Groonga::Schema#create_tableからブロックに渡されてくる
|
1012
|
+
# スキーマ定義時に {Groonga::Schema.create_table} や
|
1013
|
+
# {Groonga::Schema#create_table} からブロックに渡されてくる
|
996
1014
|
# オブジェクト
|
997
1015
|
class TableDefinition
|
998
1016
|
include Path
|
@@ -1039,31 +1057,29 @@ module Groonga
|
|
1039
1057
|
#
|
1040
1058
|
# @param options [::Hash] The name and value
|
1041
1059
|
# pairs. Omitted names are initialized as the default value.
|
1042
|
-
# @option options :force
|
1060
|
+
# @option options :force
|
1043
1061
|
#
|
1044
1062
|
# +true+ を指定すると既存の同名のカラムが
|
1045
1063
|
# 存在していても、強制的に新しいカラムを作成する。
|
1046
|
-
# @option options :path
|
1064
|
+
# @option options :path
|
1047
1065
|
#
|
1048
1066
|
# カラムを保存するパス。
|
1049
|
-
# @option options :persistent
|
1067
|
+
# @option options :persistent
|
1050
1068
|
#
|
1051
|
-
# +true+
|
1069
|
+
# +true+ を指定すると永続カラムとなる。 +:path+ を省略
|
1052
1070
|
# した場合は自動的にパスが付加される。
|
1053
|
-
# @option options :type (:scalar)
|
1071
|
+
# @option options :type (:scalar)
|
1054
1072
|
#
|
1055
1073
|
# カラムの値の格納方法について指定する。
|
1056
|
-
#
|
1057
|
-
#
|
1058
|
-
#
|
1059
|
-
#
|
1060
|
-
# @option options :compress The compress
|
1074
|
+
#
|
1075
|
+
# - :scalar := スカラ値(単独の値)を格納する。
|
1076
|
+
# - :vector := 値の配列を格納する。
|
1077
|
+
# @option options :compress
|
1061
1078
|
#
|
1062
1079
|
# 値の圧縮方法を指定する。省略した場合は、圧縮しない。
|
1063
|
-
#
|
1064
|
-
#
|
1065
|
-
#
|
1066
|
-
# 値をlzo圧縮して格納する。
|
1080
|
+
#
|
1081
|
+
# - :zlib := 値をzlib圧縮して格納する。
|
1082
|
+
# - :lzo := 値をlzo圧縮して格納する。
|
1067
1083
|
def column(name, type, options={})
|
1068
1084
|
definition = self[name, ColumnDefinition]
|
1069
1085
|
if definition.nil?
|
@@ -1112,43 +1128,40 @@ module Groonga
|
|
1112
1128
|
# きます。
|
1113
1129
|
#
|
1114
1130
|
# _target_column_full_name_ で指定するときはテーブル名
|
1115
|
-
# とカラム名を"."
|
1116
|
-
# ルの「name」カラムのインデックスカラムを指定する場合
|
1117
|
-
# はこうなります。
|
1118
|
-
#
|
1119
|
-
# table.index("Users.name")
|
1120
|
-
#
|
1121
|
-
# @param options [::Hash] The name and value
|
1122
|
-
# pairs. Omitted names are initialized as the default value.
|
1123
|
-
# @option options :name The name
|
1124
|
-
#
|
1125
|
-
# インデックスカラムのカラム名を任意に指定する。
|
1126
|
-
# @option options :force The force
|
1127
|
-
#
|
1128
|
-
# +true+ を指定すると既存の同名のカラムが
|
1129
|
-
# 存在していても、強制的に新しいカラムを作成する。
|
1130
|
-
# @option options :path The path
|
1131
|
-
#
|
1132
|
-
# カラムを保存するパス。
|
1133
|
-
# @option options :persistent The persistent
|
1134
|
-
#
|
1135
|
-
# +true+ を指定すると永続カラムとなる。
|
1136
|
-
# +:path+ を省略した場合は自動的にパスが付加される。
|
1137
|
-
# @option options :with_section The with_section
|
1131
|
+
# とカラム名を"."でつなげます。
|
1138
1132
|
#
|
1139
|
-
#
|
1140
|
-
#
|
1141
|
-
# 複数のカラムを指定すると自動的に有効になる。
|
1142
|
-
# @option options :with_weight The with_weight
|
1133
|
+
# 例えば、「Users」テーブルの「name」カラムのインデックスカラムを
|
1134
|
+
# 指定する場合はこうなります。
|
1143
1135
|
#
|
1144
|
-
#
|
1145
|
-
#
|
1146
|
-
# @option options :with_position
|
1136
|
+
# @example
|
1137
|
+
# table.index("Users.name")
|
1147
1138
|
#
|
1148
|
-
#
|
1149
|
-
#
|
1150
|
-
#
|
1151
|
-
#
|
1139
|
+
# @param [Array] args
|
1140
|
+
# インデックスカラム作成時に指定できるオプション。
|
1141
|
+
# ハッシュを使って次の要素を指定することができる。
|
1142
|
+
#
|
1143
|
+
# - :name :=
|
1144
|
+
# インデックスカラムのカラム名を任意に指定する。 =:
|
1145
|
+
# - :force :=
|
1146
|
+
# +true+ を指定すると既存の同名のカラムが
|
1147
|
+
# 存在していても、強制的に新しいカラムを作成する。 =:
|
1148
|
+
# - :path :=
|
1149
|
+
# カラムを保存するパス。 =:
|
1150
|
+
# - :persistent :=
|
1151
|
+
# +true+ を指定すると永続カラムとなる。
|
1152
|
+
# +:path+ を省略した場合は自動的にパスが付加される。 =:
|
1153
|
+
# - :with_section :=
|
1154
|
+
# +true+ を指定すると転置索引にsection(段落情報)を
|
1155
|
+
# 合わせて格納する。未指定または +nil+ を指定した場合、
|
1156
|
+
# 複数のカラムを指定すると自動的に有効になる。 =:
|
1157
|
+
# - :with_weight :=
|
1158
|
+
# +true+ を指定すると転置索引にweight情報を合わせて
|
1159
|
+
# 格納する。 =:
|
1160
|
+
# - :with_position :=
|
1161
|
+
# +true+ を指定すると転置索引に出現位置情報を合わせて
|
1162
|
+
# 格納する。未指定または +nil+ を指定した場合、テーブル
|
1163
|
+
# がN-gram系のトークナイザーを利用している場合は
|
1164
|
+
# 自動的に有効になる。 =:
|
1152
1165
|
def index(target_table_or_target_column_full_name, *args)
|
1153
1166
|
key, target_table, target_columns, options =
|
1154
1167
|
parse_index_argument(target_table_or_target_column_full_name, *args)
|
@@ -1169,16 +1182,16 @@ module Groonga
|
|
1169
1182
|
# クスカラムを削除します。
|
1170
1183
|
#
|
1171
1184
|
# _target_column_full_name_ で指定するときはテーブル名
|
1172
|
-
# とカラム名を"."
|
1173
|
-
#
|
1174
|
-
#
|
1185
|
+
# とカラム名を"."でつなげます。
|
1186
|
+
#
|
1187
|
+
# 例えば、「Users」テーブルの「name」カラムのインデックスカラムを
|
1188
|
+
# 削除する場合はこうなります。
|
1175
1189
|
#
|
1190
|
+
# @example
|
1176
1191
|
# table.remove_index("Users.name")
|
1177
1192
|
#
|
1178
|
-
# @param
|
1179
|
-
#
|
1180
|
-
# @option options :name The name
|
1181
|
-
# インデックスカラムのカラム名を任意に指定する。
|
1193
|
+
# @param [::Hash] args { :name => target_column }と指定す
|
1194
|
+
# ることでインデックスカラムの任意のカラム名を指定することができる。
|
1182
1195
|
def remove_index(target_table_or_target_column_full_name, *args)
|
1183
1196
|
key, target_table, target_columns, options =
|
1184
1197
|
parse_index_argument(target_table_or_target_column_full_name, *args)
|
@@ -1202,8 +1215,7 @@ module Groonga
|
|
1202
1215
|
#
|
1203
1216
|
# @param [String or Symbol] name the column name
|
1204
1217
|
# @param [Hash] options ({}) the options
|
1205
|
-
# @see
|
1206
|
-
# available @options@.
|
1218
|
+
# @see #column #column for available options.
|
1207
1219
|
def integer8(name, options={})
|
1208
1220
|
column(name, "Int8", options)
|
1209
1221
|
end
|
@@ -1213,8 +1225,7 @@ module Groonga
|
|
1213
1225
|
#
|
1214
1226
|
# @param [String or Symbol] name the column name
|
1215
1227
|
# @param [Hash] options ({}) the options
|
1216
|
-
# @see
|
1217
|
-
# available @options@.
|
1228
|
+
# @see #column #column for available options.
|
1218
1229
|
def integer16(name, options={})
|
1219
1230
|
column(name, "Int16", options)
|
1220
1231
|
end
|
@@ -1243,8 +1254,7 @@ module Groonga
|
|
1243
1254
|
#
|
1244
1255
|
# @param [String or Symbol] name the column name
|
1245
1256
|
# @param [Hash] options ({}) the options
|
1246
|
-
# @see
|
1247
|
-
# available @options@.
|
1257
|
+
# @see #column #column for available options.
|
1248
1258
|
def unsigned_integer8(name, options={})
|
1249
1259
|
column(name, "UInt8", options)
|
1250
1260
|
end
|
@@ -1254,8 +1264,7 @@ module Groonga
|
|
1254
1264
|
#
|
1255
1265
|
# @param [String or Symbol] name the column name
|
1256
1266
|
# @param [Hash] options ({}) the options
|
1257
|
-
# @see
|
1258
|
-
# available @options@.
|
1267
|
+
# @see #column #column for available options.
|
1259
1268
|
def unsigned_integer16(name, options={})
|
1260
1269
|
column(name, "UInt16", options)
|
1261
1270
|
end
|
@@ -1299,8 +1308,11 @@ module Groonga
|
|
1299
1308
|
end
|
1300
1309
|
|
1301
1310
|
# 以下と同様:
|
1302
|
-
#
|
1303
|
-
#
|
1311
|
+
# <pre>
|
1312
|
+
# !!!ruby
|
1313
|
+
# table.time("updated_at")
|
1314
|
+
# table.time("created_at")
|
1315
|
+
# </pre>
|
1304
1316
|
def timestamps(options={})
|
1305
1317
|
time("created_at", options)
|
1306
1318
|
time("updated_at", options)
|
@@ -1356,24 +1368,12 @@ module Groonga
|
|
1356
1368
|
end
|
1357
1369
|
alias_method :bool, :boolean
|
1358
1370
|
|
1359
|
-
# Defines a 8 bit signed integer column named @name@.
|
1360
|
-
#
|
1361
|
-
# @param [String or Symbol] name the column name
|
1362
|
-
# @param [Hash] options ({}) the options
|
1363
|
-
# @see Groonga::Schema::TableDefinition#column for
|
1364
|
-
# available @options@.
|
1365
|
-
def integer8(name, options={})
|
1366
|
-
column(name, "Int8", options)
|
1367
|
-
end
|
1368
|
-
alias_method :int8, :integer8
|
1369
|
-
|
1370
1371
|
# Defines a geo point in Tokyo geodetic system column
|
1371
1372
|
# named @name@.
|
1372
1373
|
#
|
1373
1374
|
# @param [String or Symbol] name the column name
|
1374
1375
|
# @param [Hash] options ({}) the options
|
1375
|
-
# @see
|
1376
|
-
# available @options@.
|
1376
|
+
# @see #column #column for available options.
|
1377
1377
|
def tokyo_geo_point(name, options={})
|
1378
1378
|
column(name, "TokyoGeoPoint", options)
|
1379
1379
|
end
|
@@ -1383,8 +1383,7 @@ module Groonga
|
|
1383
1383
|
#
|
1384
1384
|
# @param [String or Symbol] name the column name
|
1385
1385
|
# @param [Hash] options ({}) the options
|
1386
|
-
# @see
|
1387
|
-
# available @options@.
|
1386
|
+
# @see #column #column for available options.
|
1388
1387
|
def wgs84_geo_point(name, options={})
|
1389
1388
|
column(name, "WGS84GeoPoint", options)
|
1390
1389
|
end
|
@@ -1649,8 +1648,8 @@ module Groonga
|
|
1649
1648
|
end
|
1650
1649
|
end
|
1651
1650
|
|
1652
|
-
# スキーマ定義時にGroonga::Schema.create_viewや
|
1653
|
-
# Groonga::Schema#create_viewからブロックに渡されてくる
|
1651
|
+
# スキーマ定義時に {Groonga::Schema.create_view} や
|
1652
|
+
# {Groonga::Schema#create_view} からブロックに渡されてくる
|
1654
1653
|
# オブジェクト
|
1655
1654
|
class ViewDefinition
|
1656
1655
|
# ビューの名前
|
@@ -1688,7 +1687,7 @@ module Groonga
|
|
1688
1687
|
view
|
1689
1688
|
end
|
1690
1689
|
|
1691
|
-
# 名前が_table_のテーブルをビューに追加する。
|
1690
|
+
# 名前が _table_ のテーブルをビューに追加する。
|
1692
1691
|
def add(table)
|
1693
1692
|
table = table.to_s if table.is_a?(Symbol)
|
1694
1693
|
@tables << table
|