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/ext/groonga/rb-grn-table.c
CHANGED
@@ -35,7 +35,7 @@ static ID id_array_set;
|
|
35
35
|
* Document-class: Groonga::Table < Groonga::Object
|
36
36
|
*
|
37
37
|
* rroongaが提供するテーブルのベースとなるクラス。このクラス
|
38
|
-
* からGroonga::Array, Groonga::Hash, Groonga::PatriciaTrie
|
38
|
+
* から {Groonga::Array} , {Groonga::Hash} , {Groonga::PatriciaTrie}
|
39
39
|
* が継承されている。
|
40
40
|
*/
|
41
41
|
|
@@ -204,10 +204,10 @@ rb_grn_table_inspect_content (VALUE self, VALUE inspected)
|
|
204
204
|
}
|
205
205
|
|
206
206
|
/*
|
207
|
-
* call-seq:
|
208
|
-
* table.inspect -> String
|
209
|
-
*
|
210
207
|
* テーブルの中身を人に見やすい文字列で返す。
|
208
|
+
*
|
209
|
+
* @overload inspect
|
210
|
+
* @return [String]
|
211
211
|
*/
|
212
212
|
static VALUE
|
213
213
|
rb_grn_table_inspect (VALUE self)
|
@@ -224,36 +224,31 @@ rb_grn_table_inspect (VALUE self)
|
|
224
224
|
}
|
225
225
|
|
226
226
|
/*
|
227
|
-
* call-seq:
|
228
|
-
* table.define_column(name, value_type, options={}) ->
|
229
|
-
* Groonga::FixSizeColumnかGroonga::VariableSizeColumn
|
230
|
-
*
|
231
227
|
* テーブルに名前が _name_ で型が _value_type_ のカラムを定義
|
232
228
|
* し、新しく定義されたカラムを返す。
|
233
229
|
*
|
234
|
-
*
|
235
|
-
*
|
236
|
-
*
|
237
|
-
*
|
238
|
-
*
|
239
|
-
*
|
240
|
-
*
|
241
|
-
*
|
242
|
-
*
|
243
|
-
*
|
244
|
-
*
|
245
|
-
*
|
246
|
-
*
|
247
|
-
*
|
248
|
-
*
|
249
|
-
*
|
250
|
-
*
|
251
|
-
*
|
252
|
-
*
|
253
|
-
*
|
254
|
-
*
|
255
|
-
*
|
256
|
-
* [+:lzo+] 値をlzo圧縮して格納する。
|
230
|
+
* @overload define_column(name, value_type, options={})
|
231
|
+
* @param options [::Hash] The name and value
|
232
|
+
* pairs. Omitted names are initialized as the default value.
|
233
|
+
* @option options :path
|
234
|
+
* カラムを保存するパス。
|
235
|
+
* @option options :persistent (永続カラム)
|
236
|
+
* +true+ を指定すると永続カラムとなる。省略した場合は永
|
237
|
+
* 続カラムとなる。 +:path+ を省略した場合は自動的にパスが
|
238
|
+
* 付加される。
|
239
|
+
* @option options :type (:scalar)
|
240
|
+
* カラムの値の格納方法について指定する。省略した場合は、
|
241
|
+
* +:scalar+ になる。
|
242
|
+
*
|
243
|
+
* - +:scalar+ := スカラ値(単独の値)を格納する。
|
244
|
+
* - +:vector+ := 値の配列を格納する。
|
245
|
+
* @option options :compress
|
246
|
+
* 値の圧縮方法を指定する。省略した場合は、圧縮しない。
|
247
|
+
*
|
248
|
+
* - +:zlib+ := 値をzlib圧縮して格納する。
|
249
|
+
* - +:lzo+ := 値をlzo圧縮して格納する。
|
250
|
+
*
|
251
|
+
* @return [Groonga::FixSizeColumn or Groonga::VariableSizeColumn]
|
257
252
|
*/
|
258
253
|
static VALUE
|
259
254
|
rb_grn_table_define_column (int argc, VALUE *argv, VALUE self)
|
@@ -364,37 +359,30 @@ n_gram_tokenizer_p(grn_ctx *context, grn_obj *tokenizer)
|
|
364
359
|
}
|
365
360
|
|
366
361
|
/*
|
367
|
-
* call-seq:
|
368
|
-
* table.define_index_column(name, value_type, options={}) -> Groonga::IndexColumn
|
369
|
-
*
|
370
362
|
* テーブルに名前が _name_ で型が _value_type_ のインデックスカ
|
371
363
|
* ラムを定義し、新しく定義されたカラムを返す。
|
372
364
|
*
|
373
|
-
*
|
374
|
-
*
|
375
|
-
*
|
376
|
-
*
|
377
|
-
*
|
378
|
-
*
|
379
|
-
*
|
380
|
-
*
|
381
|
-
*
|
382
|
-
*
|
383
|
-
*
|
384
|
-
*
|
385
|
-
*
|
386
|
-
*
|
387
|
-
*
|
388
|
-
*
|
389
|
-
*
|
390
|
-
*
|
391
|
-
*
|
392
|
-
*
|
393
|
-
* @
|
394
|
-
* インデックス対象となるカラムを指定する。 +:sources+ との併用はできない。
|
395
|
-
*
|
396
|
-
* @option options :sources The sources
|
397
|
-
* インデックス対象となる複数のカラムを指定する。 +:source+ との併用はできない。
|
365
|
+
* @overload define_index_column(name, value_type, options={})
|
366
|
+
* @param options [::Hash] The name and value
|
367
|
+
* pairs. Omitted names are initialized as the default value.
|
368
|
+
* @option options :path
|
369
|
+
* カラムを保存するパス。
|
370
|
+
* @option options :persistent (永続カラム)
|
371
|
+
* +true+ を指定すると永続カラムとなる。省略した場合は永
|
372
|
+
* 続カラムとなる。 +:path+ を省略した場合は自動的にパスが
|
373
|
+
* 付加される。
|
374
|
+
* @option options :with_section
|
375
|
+
* 転置索引にsection(段落情報)を合わせて格納する。
|
376
|
+
* @option options :with_weight
|
377
|
+
* 転置索引にweight情報を合わせて格納する。
|
378
|
+
* @option options :with_position
|
379
|
+
* 転置索引に出現位置情報を合わせて格納する。
|
380
|
+
* @option options :source
|
381
|
+
* インデックス対象となるカラムを指定する。 +:sources+ との併用はできない。
|
382
|
+
* @option options :sources
|
383
|
+
* インデックス対象となる複数のカラムを指定する。 +:source+ との併用はできない。
|
384
|
+
*
|
385
|
+
* @return [Groonga::IndexColumn]
|
398
386
|
*/
|
399
387
|
static VALUE
|
400
388
|
rb_grn_table_define_index_column (int argc, VALUE *argv, VALUE self)
|
@@ -520,11 +508,11 @@ ruby_object_to_column_name (VALUE rb_name,
|
|
520
508
|
}
|
521
509
|
|
522
510
|
/*
|
523
|
-
* call-seq:
|
524
|
-
* table.column(name) -> Groonga::Column or nil
|
525
|
-
*
|
526
511
|
* テーブルの _name_ に対応するカラムを返す。カラムが存在しな
|
527
512
|
* い場合は +nil+ を返す。
|
513
|
+
*
|
514
|
+
* @overload column(name)
|
515
|
+
* @return [Groonga::Column or nil]
|
528
516
|
*/
|
529
517
|
VALUE
|
530
518
|
rb_grn_table_get_column (VALUE self, VALUE rb_name)
|
@@ -601,11 +589,11 @@ rb_grn_table_get_column_surely (VALUE self, VALUE rb_name)
|
|
601
589
|
}
|
602
590
|
|
603
591
|
/*
|
604
|
-
* call-seq:
|
605
|
-
* table.columns(name=nil) -> Groonga::Columnの配列
|
606
|
-
*
|
607
592
|
* テーブルの全てのカラムを返す。 _name_ が指定された場合はカ
|
608
593
|
* ラム名の先頭が _name_ で始まるカラムを返す。
|
594
|
+
*
|
595
|
+
* @overload columns(name=nil)
|
596
|
+
* @return [Groonga::Columnの配列]
|
609
597
|
*/
|
610
598
|
static VALUE
|
611
599
|
rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
|
@@ -619,6 +607,7 @@ rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
|
|
619
607
|
VALUE rb_name, rb_columns;
|
620
608
|
char *name = NULL;
|
621
609
|
unsigned name_size = 0;
|
610
|
+
VALUE exception;
|
622
611
|
|
623
612
|
rb_grn_table_deconstruct(SELF(self), &table, &context,
|
624
613
|
NULL, NULL,
|
@@ -655,6 +644,13 @@ rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
|
|
655
644
|
grn_table_cursor_get_key(context, cursor, &key);
|
656
645
|
column_id = key;
|
657
646
|
column = grn_ctx_at(context, *column_id);
|
647
|
+
exception = rb_grn_context_to_exception(context, self);
|
648
|
+
if (!NIL_P(exception)) {
|
649
|
+
grn_table_cursor_close(context, cursor);
|
650
|
+
grn_obj_unlink(context, columns);
|
651
|
+
rb_exc_raise(exception);
|
652
|
+
}
|
653
|
+
|
658
654
|
rb_column = GRNOBJECT2RVAL(Qnil, context, column, GRN_FALSE);
|
659
655
|
rb_ary_push(rb_columns, rb_column);
|
660
656
|
}
|
@@ -669,10 +665,9 @@ rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
|
|
669
665
|
}
|
670
666
|
|
671
667
|
/*
|
672
|
-
* call-seq:
|
673
|
-
* table.have_column?(name) -> true/false
|
674
|
-
*
|
675
668
|
* テーブルが _name_ カラムを持っている場合は +true+ を返す。
|
669
|
+
*
|
670
|
+
* @overload have_column?(name)
|
676
671
|
*/
|
677
672
|
static VALUE
|
678
673
|
rb_grn_table_have_column (VALUE self, VALUE rb_name)
|
@@ -762,54 +757,74 @@ rb_grn_table_open_grn_cursor (int argc, VALUE *argv, VALUE self,
|
|
762
757
|
}
|
763
758
|
|
764
759
|
/*
|
765
|
-
* call-seq:
|
766
|
-
* table.open_cursor(options={}) -> Groonga::TableCursor
|
767
|
-
* table.open_cursor(options={}) {|cursor| }
|
768
|
-
*
|
769
760
|
* カーソルを生成して返す。ブロックを指定すると、そのブロッ
|
770
761
|
* クに生成したカーソルが渡され、ブロックを抜けると自動的に
|
771
762
|
* カーソルが破棄される。
|
772
763
|
*
|
773
|
-
*
|
774
|
-
*
|
775
|
-
*
|
776
|
-
*
|
777
|
-
*
|
778
|
-
*
|
779
|
-
*
|
780
|
-
*
|
781
|
-
*
|
782
|
-
*
|
783
|
-
*
|
784
|
-
*
|
785
|
-
*
|
786
|
-
*
|
787
|
-
*
|
788
|
-
*
|
789
|
-
*
|
790
|
-
*
|
791
|
-
*
|
792
|
-
*
|
793
|
-
*
|
794
|
-
*
|
795
|
-
*
|
796
|
-
*
|
797
|
-
*
|
798
|
-
*
|
799
|
-
*
|
800
|
-
*
|
801
|
-
*
|
802
|
-
*
|
803
|
-
*
|
804
|
-
*
|
805
|
-
*
|
806
|
-
*
|
807
|
-
*
|
808
|
-
*
|
809
|
-
*
|
810
|
-
*
|
811
|
-
*
|
812
|
-
*
|
764
|
+
* @overload open_cursor(options={})
|
765
|
+
* @return [Groonga::TableCursor]
|
766
|
+
* @param options [::Hash] The name and value
|
767
|
+
* pairs. Omitted names are initialized as the default value.
|
768
|
+
* @option options :min
|
769
|
+
* キーの下限
|
770
|
+
* @option options :max
|
771
|
+
* キーの上限
|
772
|
+
* @option options :offset
|
773
|
+
* 該当する範囲のレコードのうち、(0ベースで) _:offset_ 番目
|
774
|
+
* からレコードを取り出す。
|
775
|
+
* @option options :limit
|
776
|
+
* 該当する範囲のレコードのうち、 _:limit_ 件のみを取り出す。
|
777
|
+
* 省略された場合または-1が指定された場合は、全件が指定され
|
778
|
+
* たものとみなす。
|
779
|
+
* @option options :order (asc)
|
780
|
+
* +:asc+ または +:ascending+ を指定すると昇順にレコードを取
|
781
|
+
* り出す。(デフォルト)
|
782
|
+
* +:desc+ または +:descending+ を指定すると降順にレコードを
|
783
|
+
* 取り出す。
|
784
|
+
* @option options :order_by
|
785
|
+
* +:id+ を指定するとID順にレコードを取り出す。(Arrayと
|
786
|
+
* Hashのデフォルト)
|
787
|
+
* +:key+ 指定するとキー順にレコードを取り出す。ただし、
|
788
|
+
* Groonga::PatriciaTrieにしか使えない。(PatriciaTrieのデ
|
789
|
+
* フォルト)
|
790
|
+
* @option options :greater_than
|
791
|
+
* +true+ を指定すると +:min+ で指定した値に一致した [ +key+ ] を
|
792
|
+
* 範囲に含まない。
|
793
|
+
* @option options :less_than
|
794
|
+
* +true+ を指定すると +:max+ で指定した値に一致した [ +key+ ] を
|
795
|
+
* 範囲に含まない。
|
796
|
+
* @overload open_cursor(options={})
|
797
|
+
* @yield [cursor]
|
798
|
+
* @param options [::Hash] The name and value
|
799
|
+
* pairs. Omitted names are initialized as the default value.
|
800
|
+
* @option options :min
|
801
|
+
* キーの下限
|
802
|
+
* @option options :max
|
803
|
+
* キーの上限
|
804
|
+
* @option options :offset
|
805
|
+
* 該当する範囲のレコードのうち、(0ベースで) _:offset_ 番目
|
806
|
+
* からレコードを取り出す。
|
807
|
+
* @option options :limit
|
808
|
+
* 該当する範囲のレコードのうち、 _:limit_ 件のみを取り出す。
|
809
|
+
* 省略された場合または-1が指定された場合は、全件が指定され
|
810
|
+
* たものとみなす。
|
811
|
+
* @option options :order (asc)
|
812
|
+
* +:asc+ または +:ascending+ を指定すると昇順にレコードを取
|
813
|
+
* り出す。(デフォルト)
|
814
|
+
* +:desc+ または +:descending+ を指定すると降順にレコードを
|
815
|
+
* 取り出す。
|
816
|
+
* @option options :order_by
|
817
|
+
* +:id+ を指定するとID順にレコードを取り出す。(Arrayと
|
818
|
+
* Hashのデフォルト)
|
819
|
+
* +:key+ 指定するとキー順にレコードを取り出す。ただし、
|
820
|
+
* Groonga::PatriciaTrieにしか使えない。(PatriciaTrieのデ
|
821
|
+
* フォルト)
|
822
|
+
* @option options :greater_than
|
823
|
+
* +true+ を指定すると +:min+ で指定した値に一致した [ +key+ ] を
|
824
|
+
* 範囲に含まない。
|
825
|
+
* @option options :less_than
|
826
|
+
* +true+ を指定すると +:max+ で指定した値に一致した [ +key+ ] を
|
827
|
+
* 範囲に含まない。
|
813
828
|
*/
|
814
829
|
static VALUE
|
815
830
|
rb_grn_table_open_cursor (int argc, VALUE *argv, VALUE self)
|
@@ -828,11 +843,11 @@ rb_grn_table_open_cursor (int argc, VALUE *argv, VALUE self)
|
|
828
843
|
}
|
829
844
|
|
830
845
|
/*
|
831
|
-
* call-seq:
|
832
|
-
* table.records -> Groonga::Recordの配列
|
833
|
-
*
|
834
846
|
* テーブルに登録されている全てのレコードが入っている配列を
|
835
847
|
* 返す。
|
848
|
+
*
|
849
|
+
* @overload records
|
850
|
+
* @return [Groonga::Recordの配列]
|
836
851
|
*/
|
837
852
|
static VALUE
|
838
853
|
rb_grn_table_get_records (int argc, VALUE *argv, VALUE self)
|
@@ -853,10 +868,10 @@ rb_grn_table_get_records (int argc, VALUE *argv, VALUE self)
|
|
853
868
|
}
|
854
869
|
|
855
870
|
/*
|
856
|
-
* call-seq:
|
857
|
-
* table.size -> レコード数
|
858
|
-
*
|
859
871
|
* テーブルに登録されているレコード数を返す。
|
872
|
+
*
|
873
|
+
* @overload size
|
874
|
+
* @return [Integer]
|
860
875
|
*/
|
861
876
|
static VALUE
|
862
877
|
rb_grn_table_get_size (VALUE self)
|
@@ -874,10 +889,9 @@ rb_grn_table_get_size (VALUE self)
|
|
874
889
|
}
|
875
890
|
|
876
891
|
/*
|
877
|
-
* call-seq:
|
878
|
-
* table.empty? -> true/false
|
879
|
-
*
|
880
892
|
* テーブルにレコードが登録されていなければ +true+ を返す。
|
893
|
+
*
|
894
|
+
* @overload empty?
|
881
895
|
*/
|
882
896
|
static VALUE
|
883
897
|
rb_grn_table_empty_p (VALUE self)
|
@@ -895,10 +909,9 @@ rb_grn_table_empty_p (VALUE self)
|
|
895
909
|
}
|
896
910
|
|
897
911
|
/*
|
898
|
-
* call-seq:
|
899
|
-
* table.truncate
|
900
|
-
*
|
901
912
|
* テーブルの全レコードを一括して削除する。
|
913
|
+
*
|
914
|
+
* @overload truncate
|
902
915
|
*/
|
903
916
|
static VALUE
|
904
917
|
rb_grn_table_truncate (VALUE self)
|
@@ -918,13 +931,17 @@ rb_grn_table_truncate (VALUE self)
|
|
918
931
|
}
|
919
932
|
|
920
933
|
/*
|
921
|
-
* call-seq:
|
922
|
-
* table.each {|record| } -> nil
|
923
|
-
* table.each(options={}) {|record| } -> nil
|
924
|
-
*
|
925
934
|
* テーブルに登録されているレコードを順番にブロックに渡す。
|
926
935
|
*
|
927
|
-
* _options_ is the same as #open_cursor's one.
|
936
|
+
* _options_ is the same as {#open_cursor} 's one.
|
937
|
+
*
|
938
|
+
* @overload each
|
939
|
+
* @!macro [new] table.each.metadata
|
940
|
+
* @yield [record]
|
941
|
+
* @return [nil]
|
942
|
+
* @!macro table.each.metadata
|
943
|
+
* @overload each(options={})
|
944
|
+
* @!macro table.each.metadata
|
928
945
|
*/
|
929
946
|
static VALUE
|
930
947
|
rb_grn_table_each (int argc, VALUE *argv, VALUE self)
|
@@ -937,6 +954,8 @@ rb_grn_table_each (int argc, VALUE *argv, VALUE self)
|
|
937
954
|
VALUE rb_cursor;
|
938
955
|
grn_id id;
|
939
956
|
|
957
|
+
RETURN_ENUMERATOR(self, argc, argv);
|
958
|
+
|
940
959
|
cursor = rb_grn_table_open_grn_cursor(argc, argv, self, &context);
|
941
960
|
rb_cursor = GRNTABLECURSOR2RVAL(Qnil, context, cursor);
|
942
961
|
rb_table = SELF(self);
|
@@ -951,10 +970,9 @@ rb_grn_table_each (int argc, VALUE *argv, VALUE self)
|
|
951
970
|
}
|
952
971
|
|
953
972
|
/*
|
954
|
-
* call-seq:
|
955
|
-
* table.delete(id)
|
956
|
-
*
|
957
973
|
* テーブルの _id_ に対応するレコードを削除する。
|
974
|
+
*
|
975
|
+
* @overload delete(id)
|
958
976
|
*/
|
959
977
|
VALUE
|
960
978
|
rb_grn_table_delete (VALUE self, VALUE rb_id)
|
@@ -977,10 +995,7 @@ rb_grn_table_delete (VALUE self, VALUE rb_id)
|
|
977
995
|
}
|
978
996
|
|
979
997
|
/*
|
980
|
-
*
|
981
|
-
* table.sort(keys, options={}) -> Groonga::Recordの配列
|
982
|
-
*
|
983
|
-
* テーブルに登録されているレコードを_keys_で指定されたルー
|
998
|
+
* テーブルに登録されているレコードを _keys_ で指定されたルー
|
984
999
|
* ルに従ってソートしたレコードの配列を返す。
|
985
1000
|
*
|
986
1001
|
* _order_ には +:asc+ , +:ascending+ , +:desc+ , +:descending+ の
|
@@ -1022,16 +1037,17 @@ rb_grn_table_delete (VALUE self, VALUE rb_id)
|
|
1022
1037
|
* </pre>
|
1023
1038
|
* =:
|
1024
1039
|
*
|
1025
|
-
* @
|
1026
|
-
*
|
1027
|
-
*
|
1028
|
-
*
|
1029
|
-
*
|
1030
|
-
*
|
1031
|
-
*
|
1032
|
-
*
|
1033
|
-
*
|
1034
|
-
*
|
1040
|
+
* @overload sort(keys, options={})
|
1041
|
+
* @param options [::Hash] The name and value
|
1042
|
+
* pairs. Omitted names are initialized as the default value.
|
1043
|
+
* @option options :offset
|
1044
|
+
* ソートされたレコードのうち、(0ベースで) _:offset_ 番目
|
1045
|
+
* からレコードを取り出す。
|
1046
|
+
* @option options :limit
|
1047
|
+
* ソートされたレコードのうち、 _:limit_ 件のみを取り出す。
|
1048
|
+
* 省略された場合または-1が指定された場合は、全件が指定され
|
1049
|
+
* たものとみなす。
|
1050
|
+
* @return [::Array<Groonga::Record>]
|
1035
1051
|
*/
|
1036
1052
|
static VALUE
|
1037
1053
|
rb_grn_table_sort (int argc, VALUE *argv, VALUE self)
|
@@ -1152,13 +1168,14 @@ rb_grn_table_sort (int argc, VALUE *argv, VALUE self)
|
|
1152
1168
|
}
|
1153
1169
|
|
1154
1170
|
/*
|
1155
|
-
* call-seq:
|
1156
|
-
* table.group([key1, key2, ...], options={}) -> [Groonga::Hash, ...]
|
1157
|
-
* table.group(key, options={}) -> Groonga::Hash
|
1158
|
-
*
|
1159
1171
|
* _table_ のレコードを _key1_ , _key2_ , _..._ で指定したキーの
|
1160
1172
|
* 値でグループ化する。多くの場合、キーにはカラムを指定する。
|
1161
1173
|
* カラムはカラム名(文字列)でも指定可能。
|
1174
|
+
*
|
1175
|
+
* @overload group([key1, key2, ...], options={})
|
1176
|
+
* @return [[Groonga::Hash, ...]]
|
1177
|
+
* @overload group(key, options={})
|
1178
|
+
* @return [Groonga::Hash]
|
1162
1179
|
*/
|
1163
1180
|
static VALUE
|
1164
1181
|
rb_grn_table_group (int argc, VALUE *argv, VALUE self)
|
@@ -1252,14 +1269,12 @@ rb_grn_table_group (int argc, VALUE *argv, VALUE self)
|
|
1252
1269
|
}
|
1253
1270
|
|
1254
1271
|
/*
|
1255
|
-
*
|
1272
|
+
* _table_ の _id_ に対応する {Groonga::Record} を返す。
|
1256
1273
|
*
|
1257
|
-
*
|
1258
|
-
* table[id] -> Groonga::Record
|
1274
|
+
* 0.9.0から値ではなく {Groonga::Record} を返すようになった。
|
1259
1275
|
*
|
1260
|
-
*
|
1261
|
-
*
|
1262
|
-
* 0.9.0から値ではなくGroonga::Recordを返すようになった。
|
1276
|
+
* @overload [](id)
|
1277
|
+
* @return [Groonga::Record]
|
1263
1278
|
*/
|
1264
1279
|
VALUE
|
1265
1280
|
rb_grn_table_array_reference (VALUE self, VALUE rb_id)
|
@@ -1294,17 +1309,16 @@ rb_grn_table_get_value (VALUE self, VALUE rb_id)
|
|
1294
1309
|
}
|
1295
1310
|
|
1296
1311
|
/*
|
1297
|
-
* Document-method: value
|
1298
|
-
*
|
1299
|
-
* call-seq:
|
1300
|
-
* table.value(id) -> 値
|
1301
|
-
* table.value(id, :id => true) -> 値
|
1302
|
-
*
|
1303
1312
|
* _table_ の _id_ に対応する値を返す。
|
1304
1313
|
*
|
1305
|
-
*
|
1306
|
-
* Groonga::ArrayでもGroonga::HashやGroonga::PatriciaTrieと
|
1314
|
+
* @:id => true@ が指定できるのは利便性のため。
|
1315
|
+
* {Groonga::Array} でも {Groonga::Hash} や {Groonga::PatriciaTrie} と
|
1307
1316
|
* 同じ引数で動くようになる。
|
1317
|
+
*
|
1318
|
+
* @overload value(id)
|
1319
|
+
* @return [値]
|
1320
|
+
* @overload value(id, :id => true)
|
1321
|
+
* @return [値]
|
1308
1322
|
*/
|
1309
1323
|
static VALUE
|
1310
1324
|
rb_grn_table_get_value_convenience (int argc, VALUE *argv, VALUE self)
|
@@ -1354,18 +1368,15 @@ rb_grn_table_set_value (VALUE self, VALUE rb_id, VALUE rb_value)
|
|
1354
1368
|
}
|
1355
1369
|
|
1356
1370
|
/*
|
1357
|
-
* Document-method: set_value
|
1358
|
-
*
|
1359
|
-
* call-seq:
|
1360
|
-
* table.set_value(id, value)
|
1361
|
-
* table.set_value(id, value, :id => true)
|
1362
|
-
*
|
1363
1371
|
* _table_ の _id_ に対応する値として _value_ 設定する。既存の値は
|
1364
1372
|
* 上書きされる。
|
1365
1373
|
*
|
1366
|
-
*
|
1367
|
-
* Groonga::ArrayでもGroonga::HashやGroonga::PatriciaTrieと
|
1374
|
+
* @:id => true@ が指定できるのは利便性のため。
|
1375
|
+
* {Groonga::Array} でも {Groonga::Hash} や {Groonga::PatriciaTrie} と
|
1368
1376
|
* 同じ引数で動くようになる。
|
1377
|
+
*
|
1378
|
+
* @overload set_value(id, value)
|
1379
|
+
* @overload set_value(id, value, :id => true)
|
1369
1380
|
*/
|
1370
1381
|
static VALUE
|
1371
1382
|
rb_grn_table_set_value_convenience (int argc, VALUE *argv, VALUE self)
|
@@ -1407,17 +1418,16 @@ rb_grn_table_get_column_value (VALUE self, VALUE rb_id, VALUE rb_name)
|
|
1407
1418
|
}
|
1408
1419
|
|
1409
1420
|
/*
|
1410
|
-
* Document-method: column_value
|
1411
|
-
*
|
1412
|
-
* call-seq:
|
1413
|
-
* table.column_value(id, name) -> 値
|
1414
|
-
* table.column_value(id, name, :id => true) -> 値
|
1415
|
-
*
|
1416
1421
|
* _table_ の _id_ に対応するカラム _name_ の値を返す。
|
1417
1422
|
*
|
1418
|
-
*
|
1419
|
-
* Groonga::ArrayでもGroonga::HashやGroonga::PatriciaTrieと
|
1423
|
+
* @:id => true@ が指定できるのは利便性のため。
|
1424
|
+
* {Groonga::Array} でも {Groonga::Hash} や {Groonga::PatriciaTrie} と
|
1420
1425
|
* 同じ引数で動くようになる。
|
1426
|
+
*
|
1427
|
+
* @overload column_value(id, name)
|
1428
|
+
* @return [値]
|
1429
|
+
* @overload column_value(id, name, :id => true)
|
1430
|
+
* @return [値]
|
1421
1431
|
*/
|
1422
1432
|
static VALUE
|
1423
1433
|
rb_grn_table_get_column_value_convenience (int argc, VALUE *argv, VALUE self)
|
@@ -1463,18 +1473,15 @@ rb_grn_table_set_column_value (VALUE self, VALUE rb_id,
|
|
1463
1473
|
}
|
1464
1474
|
|
1465
1475
|
/*
|
1466
|
-
* Document-method: set_column_value
|
1467
|
-
*
|
1468
|
-
* call-seq:
|
1469
|
-
* table.set_column_value(id, name, value)
|
1470
|
-
* table.set_column_value(id, name, value, :id => true)
|
1471
|
-
*
|
1472
1476
|
* _table_ の _id_ に対応するカラム _name_ の値として _value_ 設定す
|
1473
1477
|
* る。既存の値は上書きされる。
|
1474
1478
|
*
|
1475
|
-
*
|
1476
|
-
* Groonga::ArrayでもGroonga::HashやGroonga::PatriciaTrieと
|
1479
|
+
* @:id => true@ が指定できるのは利便性のため。
|
1480
|
+
* {Groonga::Array} でも {Groonga::Hash} や {Groonga::PatriciaTrie} と
|
1477
1481
|
* 同じ引数で動くようになる。
|
1482
|
+
*
|
1483
|
+
* @overload set_column_value(id, name, value)
|
1484
|
+
* @overload set_column_value(id, name, valuf, :id => true)
|
1478
1485
|
*/
|
1479
1486
|
static VALUE
|
1480
1487
|
rb_grn_table_set_column_value_convenience (int argc, VALUE *argv, VALUE self)
|
@@ -1500,18 +1507,14 @@ rb_grn_table_set_column_value_convenience (int argc, VALUE *argv, VALUE self)
|
|
1500
1507
|
}
|
1501
1508
|
|
1502
1509
|
/*
|
1503
|
-
* Document-method: unlock
|
1504
|
-
*
|
1505
|
-
* call-seq:
|
1506
|
-
* table.unlock(options={})
|
1507
|
-
*
|
1508
1510
|
* _table_ のロックを解除する。
|
1509
1511
|
*
|
1510
|
-
*
|
1511
|
-
*
|
1512
|
-
*
|
1513
|
-
*
|
1514
|
-
*
|
1512
|
+
* @overload unlock(options={})
|
1513
|
+
* @param options [::Hash] The name and value
|
1514
|
+
* pairs. Omitted names are initialized as the default value.
|
1515
|
+
* @option options :id
|
1516
|
+
* _:id_ で指定したレコードのロックを解除する。(注:
|
1517
|
+
* groonga側が未実装のため、現在は無視される)
|
1515
1518
|
*/
|
1516
1519
|
static VALUE
|
1517
1520
|
rb_grn_table_unlock (int argc, VALUE *argv, VALUE self)
|
@@ -1550,30 +1553,32 @@ rb_grn_table_unlock_ensure (VALUE self)
|
|
1550
1553
|
}
|
1551
1554
|
|
1552
1555
|
/*
|
1553
|
-
* Document-method: lock
|
1554
|
-
*
|
1555
|
-
* call-seq:
|
1556
|
-
* table.lock(options={})
|
1557
|
-
* table.lock(options={}) {}
|
1558
|
-
*
|
1559
1556
|
* _table_ をロックする。ロックに失敗した場合は
|
1560
|
-
* Groonga::ResourceDeadlockAvoided例外が発生する。
|
1557
|
+
* {Groonga::ResourceDeadlockAvoided} 例外が発生する。
|
1561
1558
|
*
|
1562
1559
|
* ブロックを指定した場合はブロックを抜けたときにunlockする。
|
1563
1560
|
*
|
1564
|
-
*
|
1565
|
-
*
|
1566
|
-
*
|
1567
|
-
*
|
1568
|
-
*
|
1569
|
-
*
|
1570
|
-
*
|
1571
|
-
*
|
1572
|
-
*
|
1573
|
-
*
|
1574
|
-
*
|
1575
|
-
*
|
1576
|
-
*
|
1561
|
+
* @overload lock(options={})
|
1562
|
+
* @param options [::Hash] The name and value
|
1563
|
+
* pairs. Omitted names are initialized as the default value.
|
1564
|
+
* @option options :timeout
|
1565
|
+
* ロックを獲得できなかった場合は _:timeout_ 秒間ロックの獲
|
1566
|
+
* 得を試みる。 _:timeout_ 秒以内にロックを獲得できなかった
|
1567
|
+
* 場合は例外が発生する。
|
1568
|
+
* @option options :id
|
1569
|
+
* _:id_ で指定したレコードをロックする。(注: groonga側が
|
1570
|
+
* 未実装のため、現在は無視される)
|
1571
|
+
* @overload lock(options={})
|
1572
|
+
* @yield ブロックを抜けたときにunlockする。
|
1573
|
+
* @param options [::Hash] The name and value
|
1574
|
+
* pairs. Omitted names are initialized as the default value.
|
1575
|
+
* @option options :timeout
|
1576
|
+
* ロックを獲得できなかった場合は _:timeout_ 秒間ロックの獲
|
1577
|
+
* 得を試みる。 _:timeout_ 秒以内にロックを獲得できなかった
|
1578
|
+
* 場合は例外が発生する。
|
1579
|
+
* @option options :id
|
1580
|
+
* _:id_ で指定したレコードをロックする。(注: groonga側が
|
1581
|
+
* 未実装のため、現在は無視される)
|
1577
1582
|
*/
|
1578
1583
|
static VALUE
|
1579
1584
|
rb_grn_table_lock (int argc, VALUE *argv, VALUE self)
|
@@ -1615,22 +1620,16 @@ rb_grn_table_lock (int argc, VALUE *argv, VALUE self)
|
|
1615
1620
|
}
|
1616
1621
|
|
1617
1622
|
/*
|
1618
|
-
* Document-method: clear_lock
|
1619
|
-
*
|
1620
|
-
* call-seq:
|
1621
|
-
* table.clear_lock(options={})
|
1622
|
-
*
|
1623
1623
|
* _table_ のロックを強制的に解除する。
|
1624
1624
|
*
|
1625
|
-
*
|
1626
|
-
*
|
1627
|
-
*
|
1628
|
-
*
|
1629
|
-
*
|
1630
|
-
*
|
1631
|
-
*
|
1632
|
-
*
|
1633
|
-
* い。)
|
1625
|
+
* @overload clear_lock(options={})
|
1626
|
+
* @param [::Hash] options The name and value
|
1627
|
+
* pairs. Omitted names are initialized as the default value.
|
1628
|
+
* @option options :id
|
1629
|
+
* _:id_ で指定したレコードのロックを強制的に解除する。
|
1630
|
+
* (注: groonga側が未実装のため、現在は無視される。実装さ
|
1631
|
+
* れるのではないかと思っているが、実装されないかもしれな
|
1632
|
+
* い。)
|
1634
1633
|
*/
|
1635
1634
|
static VALUE
|
1636
1635
|
rb_grn_table_clear_lock (int argc, VALUE *argv, VALUE self)
|
@@ -1660,22 +1659,16 @@ rb_grn_table_clear_lock (int argc, VALUE *argv, VALUE self)
|
|
1660
1659
|
}
|
1661
1660
|
|
1662
1661
|
/*
|
1663
|
-
* Document-method: locked?
|
1664
|
-
*
|
1665
|
-
* call-seq:
|
1666
|
-
* table.locked?(options={})
|
1667
|
-
*
|
1668
1662
|
* _table_ がロックされていれば +true+ を返す。
|
1669
1663
|
*
|
1670
|
-
*
|
1671
|
-
*
|
1672
|
-
*
|
1673
|
-
*
|
1674
|
-
*
|
1675
|
-
*
|
1676
|
-
*
|
1677
|
-
*
|
1678
|
-
* い。)
|
1664
|
+
* @overload locked?(options={})
|
1665
|
+
* @param [options] options The name and value
|
1666
|
+
* pairs. Omitted names are initialized as the default value.
|
1667
|
+
* @option options :id
|
1668
|
+
* _:id_ で指定したレコードがロックされていれば +true+ を返す。
|
1669
|
+
* (注: groonga側が未実装のため、現在は無視される。実装さ
|
1670
|
+
* れるのではないかと思っているが、実装されないかもしれな
|
1671
|
+
* い。)
|
1679
1672
|
*/
|
1680
1673
|
static VALUE
|
1681
1674
|
rb_grn_table_is_locked (int argc, VALUE *argv, VALUE self)
|
@@ -1703,16 +1696,11 @@ rb_grn_table_is_locked (int argc, VALUE *argv, VALUE self)
|
|
1703
1696
|
}
|
1704
1697
|
|
1705
1698
|
/*
|
1706
|
-
* call-seq:
|
1707
|
-
* table.select(options) {|record| ...} -> Groonga::Hash
|
1708
|
-
* table.select(query, options) -> Groonga::Hash
|
1709
|
-
* table.select(expression, options) -> Groonga::Hash
|
1710
|
-
*
|
1711
1699
|
* _table_ からブロックまたは文字列で指定した条件にマッチする
|
1712
1700
|
* レコードを返す。返されたテーブルには +expression+ という特
|
1713
1701
|
* 異メソッドがあり、指定した条件を表している
|
1714
|
-
* Groonga::Expressionを取得できる。
|
1715
|
-
* Groonga::Expression#snippetを使うことにより、指定した条件
|
1702
|
+
* {Groonga::Expression} を取得できる。
|
1703
|
+
* {Groonga::Expression#snippet} を使うことにより、指定した条件
|
1716
1704
|
* 用のスニペットを簡単に生成できる。
|
1717
1705
|
*
|
1718
1706
|
* <pre>
|
@@ -1741,108 +1729,104 @@ rb_grn_table_is_locked (int argc, VALUE *argv, VALUE self)
|
|
1741
1729
|
* ---
|
1742
1730
|
* </pre>
|
1743
1731
|
*
|
1744
|
-
*
|
1745
|
-
*
|
1746
|
-
*
|
1747
|
-
*
|
1748
|
-
*
|
1749
|
-
*
|
1750
|
-
*
|
1751
|
-
*
|
1752
|
-
*
|
1753
|
-
*
|
1754
|
-
*
|
1755
|
-
*
|
1756
|
-
*
|
1757
|
-
*
|
1758
|
-
*
|
1759
|
-
*
|
1760
|
-
*
|
1761
|
-
*
|
1762
|
-
*
|
1763
|
-
*
|
1764
|
-
*
|
1765
|
-
*
|
1766
|
-
*
|
1767
|
-
*
|
1768
|
-
*
|
1769
|
-
*
|
1770
|
-
*
|
1771
|
-
*
|
1772
|
-
*
|
1773
|
-
*
|
1774
|
-
*
|
1775
|
-
*
|
1776
|
-
*
|
1777
|
-
*
|
1778
|
-
*
|
1779
|
-
*
|
1780
|
-
*
|
1781
|
-
*
|
1782
|
-
*
|
1783
|
-
*
|
1784
|
-
*
|
1785
|
-
*
|
1786
|
-
*
|
1787
|
-
*
|
1788
|
-
*
|
1789
|
-
*
|
1790
|
-
*
|
1791
|
-
*
|
1792
|
-
*
|
1793
|
-
*
|
1794
|
-
*
|
1795
|
-
*
|
1796
|
-
*
|
1797
|
-
*
|
1798
|
-
*
|
1799
|
-
*
|
1800
|
-
*
|
1801
|
-
*
|
1802
|
-
*
|
1803
|
-
*
|
1804
|
-
*
|
1805
|
-
*
|
1806
|
-
*
|
1807
|
-
*
|
1808
|
-
*
|
1809
|
-
*
|
1810
|
-
*
|
1811
|
-
*
|
1812
|
-
*
|
1813
|
-
*
|
1814
|
-
*
|
1815
|
-
*
|
1816
|
-
*
|
1817
|
-
*
|
1818
|
-
*
|
1819
|
-
*
|
1820
|
-
*
|
1821
|
-
*
|
1822
|
-
*
|
1823
|
-
*
|
1824
|
-
*
|
1825
|
-
*
|
1826
|
-
*
|
1827
|
-
*
|
1828
|
-
*
|
1829
|
-
*
|
1830
|
-
*
|
1831
|
-
*
|
1832
|
-
*
|
1833
|
-
*
|
1834
|
-
*
|
1835
|
-
*
|
1836
|
-
*
|
1837
|
-
*
|
1838
|
-
*
|
1839
|
-
*
|
1840
|
-
*
|
1841
|
-
*
|
1842
|
-
* script構文時に更新操作を利用するかどうか。省略した場合
|
1843
|
-
* は利用する。
|
1844
|
-
*
|
1845
|
-
* 参考: Groonga::Expression#parse.
|
1732
|
+
* @overload select(options)
|
1733
|
+
* @yield [record] ブロックで条件を指定する場合は
|
1734
|
+
* Groonga::RecordExpressionBuilderを参照。
|
1735
|
+
*
|
1736
|
+
* Ruby1.9以降では、ブロックで条件を指定する際に
|
1737
|
+
* Groonga::ColumnExpressionBuilderの他に"!="も使用可能。
|
1738
|
+
*
|
1739
|
+
* 例:
|
1740
|
+
*
|
1741
|
+
* <pre>
|
1742
|
+
* !!!ruby
|
1743
|
+
* comments = Groonga::Array.create(:name => "Comments")
|
1744
|
+
* comments.define_column("content", "Text")
|
1745
|
+
* comments.add(:content => "Hello Good-bye!")
|
1746
|
+
* comments.add(:content => "Hello World")
|
1747
|
+
* comments.add(:content => "test")
|
1748
|
+
* result = comments.select do |record|
|
1749
|
+
* record.content != "test"
|
1750
|
+
* end
|
1751
|
+
* p result.collect {|record| record.content}
|
1752
|
+
* # => ["Hello Good-bye!", "Hello World"]
|
1753
|
+
* </pre>
|
1754
|
+
*
|
1755
|
+
* @!macro [new] table.select.options
|
1756
|
+
* @param options [::Hash] The name and value
|
1757
|
+
* pairs. Omitted names are initialized as the default value.
|
1758
|
+
* @option options :default_column
|
1759
|
+
* "column_name:hoge"ではなく"hoge"のようにcolumn_nameが指
|
1760
|
+
* 定されない条件の検索対象となるカラムを指定する。
|
1761
|
+
* @option options :operator (Groonga::Operator::OR)
|
1762
|
+
* マッチしたレコードをどのように扱うか。指定可能な値は以
|
1763
|
+
* 下の通り。省略した場合はGroonga::Operator::OR。
|
1764
|
+
*
|
1765
|
+
* - Groonga::Operator::OR :=
|
1766
|
+
* マッチしたレコードを追加。すでにレコードが追加されている場合
|
1767
|
+
* は何もしない。 =:
|
1768
|
+
* - Groonga::Operator::AND :=
|
1769
|
+
* マッチしたレコードのスコアを増加。マッチしなかったレコードを削除。 =:
|
1770
|
+
* - Groonga::Operator::BUT :=
|
1771
|
+
* マッチしたレコードを削除。 =:
|
1772
|
+
* - Groonga::Operator::ADJUST :=
|
1773
|
+
* マッチしたレコードのスコアを増加。 =:
|
1774
|
+
*
|
1775
|
+
* @option options :result
|
1776
|
+
* 検索結果を格納するテーブル。マッチしたレコードが追加さ
|
1777
|
+
* れていく。省略した場合は新しくテーブルを作成して返す。
|
1778
|
+
* @option options :name
|
1779
|
+
* 条件の名前。省略した場合は名前を付けない。
|
1780
|
+
* @option options :syntax
|
1781
|
+
* _query_ の構文。省略した場合は +:query+ 。
|
1782
|
+
*
|
1783
|
+
* 参考: {Groonga::Expression#parse} .
|
1784
|
+
*
|
1785
|
+
* @option options :allow_pragma
|
1786
|
+
* query構文時にプラグマを利用するかどうか。省略した場合は
|
1787
|
+
* 利用する。
|
1788
|
+
*
|
1789
|
+
* 参考: {Groonga::Expression#parse} .
|
1790
|
+
*
|
1791
|
+
* @option options :allow_column
|
1792
|
+
* query構文時にカラム指定を利用するかどうか。省略した場合
|
1793
|
+
* は利用する。
|
1794
|
+
*
|
1795
|
+
* 参考: {Groonga::Expression#parse} .
|
1796
|
+
*
|
1797
|
+
* @option options :allow_update
|
1798
|
+
* script構文時に更新操作を利用するかどうか。省略した場合
|
1799
|
+
* は利用する。
|
1800
|
+
*
|
1801
|
+
* 参考: {Groonga::Expression#parse} .
|
1802
|
+
*
|
1803
|
+
* @overload select(query, options)
|
1804
|
+
* _query_ には「[カラム名]:[演算子][値]」という書式で条件を
|
1805
|
+
* 指定する。演算子は以下の通り。
|
1806
|
+
*
|
1807
|
+
* - なし := [カラム値] == [値]
|
1808
|
+
* - @!@ := [カラム値] != [値]
|
1809
|
+
* - @<@ := [カラム値] < [値]
|
1810
|
+
* - @>@ := [カラム値] > [値]
|
1811
|
+
* - @<=@ := [カラム値] <= [値]
|
1812
|
+
* - @>=@ := [カラム値] >= [値]
|
1813
|
+
* - @@@ := [カラム値]が[値]を含んでいるかどうか
|
1814
|
+
*
|
1815
|
+
* 例:
|
1816
|
+
*
|
1817
|
+
* <pre>
|
1818
|
+
* !!!ruby
|
1819
|
+
* "name:daijiro" # "name"カラムの値が"daijiro"のレコードにマッチ
|
1820
|
+
* "description:@groonga" # "description"カラムが
|
1821
|
+
* # "groonga"を含んでいるレコードにマッチ
|
1822
|
+
* </pre>
|
1823
|
+
*
|
1824
|
+
* @!macro table.select.options
|
1825
|
+
* @overload select(expression, options)
|
1826
|
+
* _expression_ には既に作成済みの {Groonga::Expression} を渡す。
|
1827
|
+
*
|
1828
|
+
* @!macro table.select.options
|
1829
|
+
* @return [Groonga::Hash]
|
1846
1830
|
*/
|
1847
1831
|
static VALUE
|
1848
1832
|
rb_grn_table_select (int argc, VALUE *argv, VALUE self)
|
@@ -1852,7 +1836,7 @@ rb_grn_table_select (int argc, VALUE *argv, VALUE self)
|
|
1852
1836
|
grn_operator operator = GRN_OP_OR;
|
1853
1837
|
VALUE rb_query = Qnil, condition_or_options, options;
|
1854
1838
|
VALUE rb_name, rb_operator, rb_result, rb_syntax;
|
1855
|
-
VALUE rb_allow_pragma, rb_allow_column, rb_allow_update;
|
1839
|
+
VALUE rb_allow_pragma, rb_allow_column, rb_allow_update, rb_allow_leading_not;
|
1856
1840
|
VALUE rb_default_column;
|
1857
1841
|
VALUE rb_expression = Qnil, builder;
|
1858
1842
|
|
@@ -1886,6 +1870,7 @@ rb_grn_table_select (int argc, VALUE *argv, VALUE self)
|
|
1886
1870
|
"allow_pragma", &rb_allow_pragma,
|
1887
1871
|
"allow_column", &rb_allow_column,
|
1888
1872
|
"allow_update", &rb_allow_update,
|
1873
|
+
"allow_leading_not", &rb_allow_leading_not,
|
1889
1874
|
"default_column", &rb_default_column,
|
1890
1875
|
NULL);
|
1891
1876
|
|
@@ -1909,6 +1894,7 @@ rb_grn_table_select (int argc, VALUE *argv, VALUE self)
|
|
1909
1894
|
rb_funcall(builder, rb_intern("allow_pragma="), 1, rb_allow_pragma);
|
1910
1895
|
rb_funcall(builder, rb_intern("allow_column="), 1, rb_allow_column);
|
1911
1896
|
rb_funcall(builder, rb_intern("allow_update="), 1, rb_allow_update);
|
1897
|
+
rb_funcall(builder, rb_intern("allow_leading_not="), 1, rb_allow_leading_not);
|
1912
1898
|
rb_funcall(builder, rb_intern("default_column="), 1, rb_default_column);
|
1913
1899
|
rb_expression = rb_grn_record_expression_builder_build(builder);
|
1914
1900
|
}
|
@@ -1952,12 +1938,11 @@ rb_grn_table_set_operation_bang (VALUE self, VALUE rb_other,
|
|
1952
1938
|
}
|
1953
1939
|
|
1954
1940
|
/*
|
1955
|
-
* call-seq:
|
1956
|
-
* table.union!(other) -> Groonga::Table
|
1957
|
-
*
|
1958
1941
|
* キーを比較し、 _table_ には登録されていない _other_ のレコー
|
1959
1942
|
* ドを _table_ に作成する。
|
1960
1943
|
*
|
1944
|
+
* @overload union!(other)
|
1945
|
+
* @return [Groonga::Table]
|
1961
1946
|
*/
|
1962
1947
|
static VALUE
|
1963
1948
|
rb_grn_table_union_bang (VALUE self, VALUE rb_other)
|
@@ -1967,12 +1952,11 @@ rb_grn_table_union_bang (VALUE self, VALUE rb_other)
|
|
1967
1952
|
|
1968
1953
|
|
1969
1954
|
/*
|
1970
|
-
* call-seq:
|
1971
|
-
* table.intersection!(other) -> Groonga::Table
|
1972
|
-
*
|
1973
1955
|
* キーを比較し、 _other_ には登録されていないレコードを
|
1974
1956
|
* _table_ から削除する。
|
1975
1957
|
*
|
1958
|
+
* @overload intersection!(other)
|
1959
|
+
* @return [Groonga::Table]
|
1976
1960
|
*/
|
1977
1961
|
static VALUE
|
1978
1962
|
rb_grn_table_intersection_bang (VALUE self, VALUE rb_other)
|
@@ -1981,12 +1965,11 @@ rb_grn_table_intersection_bang (VALUE self, VALUE rb_other)
|
|
1981
1965
|
}
|
1982
1966
|
|
1983
1967
|
/*
|
1984
|
-
* call-seq:
|
1985
|
-
* table.difference!(other) -> Groonga::Table
|
1986
|
-
*
|
1987
1968
|
* キーを比較し、 _other_ にも登録されているレコードを _table_
|
1988
1969
|
* から削除する。
|
1989
1970
|
*
|
1971
|
+
* @overload difference!(other)
|
1972
|
+
* @return [Groonga::Table]
|
1990
1973
|
*/
|
1991
1974
|
static VALUE
|
1992
1975
|
rb_grn_table_difference_bang (VALUE self, VALUE rb_other)
|
@@ -1995,12 +1978,11 @@ rb_grn_table_difference_bang (VALUE self, VALUE rb_other)
|
|
1995
1978
|
}
|
1996
1979
|
|
1997
1980
|
/*
|
1998
|
-
* call-seq:
|
1999
|
-
* table.merge!(other) -> Groonga::Table
|
2000
|
-
*
|
2001
1981
|
* キーを比較し、 _other_ にも登録されている _table_ のレコード
|
2002
1982
|
* のスコアを _other_ のスコアと同値にする。
|
2003
1983
|
*
|
1984
|
+
* @overload merge!(other)
|
1985
|
+
* @return [Groonga::Table]
|
2004
1986
|
*/
|
2005
1987
|
static VALUE
|
2006
1988
|
rb_grn_table_merge_bang (VALUE self, VALUE rb_other)
|
@@ -2009,11 +1991,10 @@ rb_grn_table_merge_bang (VALUE self, VALUE rb_other)
|
|
2009
1991
|
}
|
2010
1992
|
|
2011
1993
|
/*
|
2012
|
-
* call-seq:
|
2013
|
-
* table.support_key? -> true/false
|
2014
|
-
*
|
2015
1994
|
* _table_ に主キーが設定されていれば +true+ 、されていなければ
|
2016
1995
|
* +false+ を返す。
|
1996
|
+
*
|
1997
|
+
* @overload support_key?
|
2017
1998
|
*/
|
2018
1999
|
static VALUE
|
2019
2000
|
rb_grn_table_support_key_p (VALUE self)
|
@@ -2022,12 +2003,11 @@ rb_grn_table_support_key_p (VALUE self)
|
|
2022
2003
|
}
|
2023
2004
|
|
2024
2005
|
/*
|
2025
|
-
* call-seq:
|
2026
|
-
* table.support_sub_records? -> true/false
|
2027
|
-
*
|
2028
2006
|
* グループ化したとき、テーブルにグループに含まれるレコード
|
2029
2007
|
* 数を格納できる場合は +true+ 、格納できない場合は +false+ を返
|
2030
2008
|
* す。
|
2009
|
+
*
|
2010
|
+
* @overload support_sub_records?
|
2031
2011
|
*/
|
2032
2012
|
static VALUE
|
2033
2013
|
rb_grn_table_support_sub_records_p (VALUE self)
|
@@ -2042,14 +2022,13 @@ rb_grn_table_support_sub_records_p (VALUE self)
|
|
2042
2022
|
}
|
2043
2023
|
|
2044
2024
|
/*
|
2045
|
-
* call-seq:
|
2046
|
-
* table.exist?(id) -> true/false
|
2047
|
-
*
|
2048
2025
|
* _table_ に _id_ で指定したIDのレコードが存在する場合は +true+ 、
|
2049
2026
|
* 存在しない場合は +false+ を返す。
|
2050
2027
|
*
|
2051
2028
|
* 注意: 実行には相応のコストがかかるのであまり頻繁に呼ばな
|
2052
2029
|
* いようにして下さい。
|
2030
|
+
*
|
2031
|
+
* @overload exist?(id)
|
2053
2032
|
*/
|
2054
2033
|
static VALUE
|
2055
2034
|
rb_grn_table_exist_p (VALUE self, VALUE id)
|
@@ -2065,18 +2044,16 @@ rb_grn_table_exist_p (VALUE self, VALUE id)
|
|
2065
2044
|
}
|
2066
2045
|
|
2067
2046
|
/*
|
2068
|
-
* Document-method: defrag
|
2069
|
-
*
|
2070
|
-
* call-seq:
|
2071
|
-
* table.defrag(options={}) -> n_segments
|
2072
|
-
*
|
2073
2047
|
* Defrags all variable size columns in the table.
|
2074
2048
|
*
|
2049
|
+
* @overload defrag(options={})
|
2050
|
+
* @param options [::Hash] The name and value
|
2051
|
+
* pairs. Omitted names are initialized as the default value.
|
2052
|
+
* @option options [Integer] :threshold (0) the threshold to
|
2053
|
+
* determine whether a segment is defraged. Available
|
2054
|
+
* values are -4..22. -4 means all segments are defraged.
|
2055
|
+
* 22 means no segment is defraged.
|
2075
2056
|
* @return [Integer] the number of defraged segments
|
2076
|
-
* @option options [Integer] :threshold (0) the threshold to
|
2077
|
-
* determine whether a segment is defraged. Available
|
2078
|
-
* values are -4..22. -4 means all segments are defraged.
|
2079
|
-
* 22 means no segment is defraged.
|
2080
2057
|
* @since 1.3.0
|
2081
2058
|
*/
|
2082
2059
|
static VALUE
|
@@ -2107,15 +2084,11 @@ rb_grn_table_defrag (int argc, VALUE *argv, VALUE self)
|
|
2107
2084
|
}
|
2108
2085
|
|
2109
2086
|
/*
|
2110
|
-
* Document-method: rename
|
2111
|
-
*
|
2112
|
-
* call-seq:
|
2113
|
-
* table.rename(name)
|
2114
|
-
*
|
2115
2087
|
* Renames the table to name.
|
2116
2088
|
*
|
2117
|
-
* @
|
2118
|
-
*
|
2089
|
+
* @overload rename(name)
|
2090
|
+
* @param name [String] the new name
|
2091
|
+
* @since 1.3.0
|
2119
2092
|
*/
|
2120
2093
|
static VALUE
|
2121
2094
|
rb_grn_table_rename (VALUE self, VALUE rb_name)
|