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-hash.c
CHANGED
@@ -30,81 +30,10 @@ VALUE rb_cGrnHash;
|
|
30
30
|
*/
|
31
31
|
|
32
32
|
/*
|
33
|
-
* call-seq:
|
34
|
-
* Groonga::Hash.create(options={}) -> Groonga::Hash
|
35
|
-
* Groonga::Hash.create(options={}) {|table| ... }
|
36
|
-
*
|
37
33
|
* 各レコードをキーで管理するテーブルを生成する。ブロックを指
|
38
34
|
* 定すると、そのブロックに生成したテーブルが渡され、ブロック
|
39
35
|
* を抜けると自動的にテーブルが破棄される。
|
40
36
|
*
|
41
|
-
* _options_ に指定可能な値は以下の通り。
|
42
|
-
* @param [::Hash] options The name and value
|
43
|
-
* pairs. Omitted names are initialized as the default value
|
44
|
-
* @option options [Groonga::Context] :context (Groonga::Context.default) The context
|
45
|
-
*
|
46
|
-
* テーブルが利用するGroonga::Context。省略すると
|
47
|
-
* Groonga::Context.defaultを用いる。
|
48
|
-
* @option options [Groonga::Context#[]] :name The name
|
49
|
-
*
|
50
|
-
* テーブルの名前。名前をつけると、Groonga::Context#[]に名
|
51
|
-
* 前を指定してテーブルを取得することができる。省略すると
|
52
|
-
* 無名テーブルになり、テーブルIDでのみ取得できる。
|
53
|
-
*
|
54
|
-
* @option options [Groonga::Context#[]] :path The path
|
55
|
-
*
|
56
|
-
* テーブルを保存するパス。パスを指定すると永続テーブルとな
|
57
|
-
* り、プロセス終了後もレコードは保持される。次回起動時に
|
58
|
-
* Groonga::Context#[]で保存されたレコードを利用することが
|
59
|
-
* できる。省略すると一時テーブルになり、プロセスが終了する
|
60
|
-
* とレコードは破棄される。
|
61
|
-
*
|
62
|
-
* @option options :persistent The persistent
|
63
|
-
* +true+ を指定すると永続テーブルとなる。 +path+ を省略した
|
64
|
-
* 場合は自動的にパスが付加される。 +:context+ で指定した
|
65
|
-
* Groonga::Contextに結びついているデータベースが一時デー
|
66
|
-
* タベースの場合は例外が発生する。
|
67
|
-
*
|
68
|
-
* @option options :key_normalize The normalize
|
69
|
-
* +true+ を指定するとキーを正規化する。
|
70
|
-
*
|
71
|
-
* @option options :key_type The key_type
|
72
|
-
* キーの種類を示すオブジェクトを指定する。キーの種類には型
|
73
|
-
* 名("Int32"や"ShortText"など)またはGroonga::Typeまたは
|
74
|
-
* テーブル(Groonga::Array、Groonga::Hash、
|
75
|
-
* Groonga::PatriciaTrieのどれか)を指定する。
|
76
|
-
*
|
77
|
-
* Groonga::Typeを指定した場合は、その型が示す範囲の値をキー
|
78
|
-
* として使用する。ただし、キーの最大サイズは4096バイトで
|
79
|
-
* あるため、Groonga::Type::TEXTやGroonga::Type::LONG_TEXT
|
80
|
-
* は使用できない。
|
81
|
-
*
|
82
|
-
* テーブルを指定した場合はレコードIDをキーとして使用する。
|
83
|
-
* 指定したテーブルのGroonga::Recordをキーとして使用するこ
|
84
|
-
* ともでき、その場合は自動的にGroonga::Recordからレコード
|
85
|
-
* IDを取得する。
|
86
|
-
*
|
87
|
-
* 省略した場合はShortText型をキーとして使用する。この場合、
|
88
|
-
* 4096バイトまで使用可能である。
|
89
|
-
*
|
90
|
-
* @option options :value_type The value_type
|
91
|
-
*
|
92
|
-
* 値の型を指定する。省略すると値のための領域を確保しない。
|
93
|
-
* 値を保存したい場合は必ず指定すること。
|
94
|
-
*
|
95
|
-
* 参考: Groonga::Type.new
|
96
|
-
*
|
97
|
-
* @option options [Groonga::IndexColumn] :default_tokenizer The default_tokenizer
|
98
|
-
* Groonga::IndexColumnで使用するトークナイザを指定する。
|
99
|
-
* デフォルトでは何も設定されていないので、テーブルに
|
100
|
-
* Groonga::IndexColumnを定義する場合は
|
101
|
-
* <tt>"TokenBigram"</tt>などを指定する必要がある。
|
102
|
-
*
|
103
|
-
* @option options [Groonga::Record#n_sub_records] :sub_records The sub_records
|
104
|
-
* +true+ を指定すると#groupでグループ化したときに、
|
105
|
-
* Groonga::Record#n_sub_recordsでグループに含まれるレコー
|
106
|
-
* ドの件数を取得できる。
|
107
|
-
*
|
108
37
|
* @example
|
109
38
|
* #無名一時テーブルを生成する。
|
110
39
|
* Groonga::Hash.create
|
@@ -126,12 +55,12 @@ VALUE rb_cGrnHash;
|
|
126
55
|
* (キーの種類を表すオブジェクトは文字列で指定。)
|
127
56
|
* Groonga::Hash.create(:key_type => "ShortText")
|
128
57
|
*
|
129
|
-
*
|
58
|
+
* #キーとしてBookmarksテーブルのレコードを使用す
|
130
59
|
* る無名一時テーブルを生成する。
|
131
60
|
* bookmarks = Groonga::Hash.create(:name => "Bookmarks")
|
132
61
|
* Groonga::Hash.create(:key_type => bookmarks)
|
133
62
|
*
|
134
|
-
*
|
63
|
+
* #キーとしてBookmarksテーブルのレコードを使用す
|
135
64
|
* #る無名一時テーブルを生成する。(テーブルは文字列で指定。)
|
136
65
|
* Groonga::Hash.create(:name => "Bookmarks")
|
137
66
|
* Groonga::Hash.create(:key_type => "Bookmarks")
|
@@ -144,6 +73,68 @@ VALUE rb_cGrnHash;
|
|
144
73
|
* :default_tokenizer => "TokenBigram")
|
145
74
|
* terms.define_index_column("content", bookmarks,
|
146
75
|
* :source => "Bookmarks.comment")
|
76
|
+
*
|
77
|
+
* @overload create(options={})
|
78
|
+
* @return [Groonga::Hash]
|
79
|
+
* @!macro hash.create.options
|
80
|
+
* @param [::Hash] options The name and value
|
81
|
+
* pairs. Omitted names are initialized as the default value
|
82
|
+
* @option options [Groonga::Context] :context (Groonga::Context.default)
|
83
|
+
* テーブルが利用する {Groonga::Context} 。省略すると
|
84
|
+
* {Groonga::Context.default} を用いる。
|
85
|
+
* @option options [Groonga::Context#[]] :name
|
86
|
+
* テーブルの名前。名前をつけると、 {Groonga::Context#[]} に名
|
87
|
+
* 前を指定してテーブルを取得することができる。省略すると
|
88
|
+
* 無名テーブルになり、テーブルIDでのみ取得できる。
|
89
|
+
* @option options [Groonga::Context#[]] :path
|
90
|
+
* テーブルを保存するパス。パスを指定すると永続テーブルとな
|
91
|
+
* り、プロセス終了後もレコードは保持される。次回起動時に
|
92
|
+
* {Groonga::Context#[]} で保存されたレコードを利用することが
|
93
|
+
* できる。省略すると一時テーブルになり、プロセスが終了する
|
94
|
+
* とレコードは破棄される。
|
95
|
+
* @option options :persistent
|
96
|
+
* +true+ を指定すると永続テーブルとなる。 +path+ を省略した
|
97
|
+
* 場合は自動的にパスが付加される。 +:context+ で指定した
|
98
|
+
* {Groonga::Context} に結びついているデータベースが一時デー
|
99
|
+
* タベースの場合は例外が発生する。
|
100
|
+
* @option options :key_normalize
|
101
|
+
* +true+ を指定するとキーを正規化する。
|
102
|
+
* @option options :key_type
|
103
|
+
* キーの種類を示すオブジェクトを指定する。キーの種類には型
|
104
|
+
* 名("Int32"や"ShortText"など)または {Groonga::Type} または
|
105
|
+
* テーブル( {Groonga::Array} 、 {Groonga::Hash} 、
|
106
|
+
* {Groonga::PatriciaTrie} のどれか)を指定する。
|
107
|
+
*
|
108
|
+
* {Groonga::Type} を指定した場合は、その型が示す範囲の値をキー
|
109
|
+
* として使用する。ただし、キーの最大サイズは4096バイトで
|
110
|
+
* あるため、 {Groonga::Type::TEXT} や {Groonga::Type::LONG_TEXT}
|
111
|
+
* は使用できない。
|
112
|
+
*
|
113
|
+
* テーブルを指定した場合はレコードIDをキーとして使用する。
|
114
|
+
* 指定したテーブルの {Groonga::Record} をキーとして使用するこ
|
115
|
+
* ともでき、その場合は自動的に {Groonga::Record} からレコード
|
116
|
+
* IDを取得する。
|
117
|
+
*
|
118
|
+
* 省略した場合はShortText型をキーとして使用する。この場合、
|
119
|
+
* 4096バイトまで使用可能である。
|
120
|
+
* @option options :value_type
|
121
|
+
* 値の型を指定する。省略すると値のための領域を確保しない。
|
122
|
+
* 値を保存したい場合は必ず指定すること。
|
123
|
+
*
|
124
|
+
* 参考: {Groonga::Type.new}
|
125
|
+
* @option options [Groonga::IndexColumn] :default_tokenizer
|
126
|
+
* {Groonga::IndexColumn} で使用するトークナイザを指定する。
|
127
|
+
* デフォルトでは何も設定されていないので、テーブルに
|
128
|
+
* {Groonga::IndexColumn} を定義する場合は
|
129
|
+
* @"TokenBigram"@ などを指定する必要がある。
|
130
|
+
* @option options [Groonga::Record#n_sub_records] :sub_records
|
131
|
+
* +true+ を指定すると {#group} でグループ化したときに、
|
132
|
+
* {Groonga::Record#n_sub_records} でグループに含まれるレコー
|
133
|
+
* ドの件数を取得できる。
|
134
|
+
* @!macro hash.create.options
|
135
|
+
* @overload create(options={})
|
136
|
+
* @yield [table]
|
137
|
+
* @!macro hash.create.options
|
147
138
|
*/
|
148
139
|
static VALUE
|
149
140
|
rb_grn_hash_s_create (int argc, VALUE *argv, VALUE klass)
|
@@ -220,25 +211,14 @@ rb_grn_hash_s_create (int argc, VALUE *argv, VALUE klass)
|
|
220
211
|
}
|
221
212
|
|
222
213
|
/*
|
223
|
-
* call-seq:
|
224
|
-
* hash.search(key, options=nil) -> Groonga::Hash
|
225
|
-
*
|
226
214
|
* _key_ にマッチするレコードのIDがキーに入っている
|
227
|
-
* Groonga::Hashを返す。マッチするレコードがない場合は空の
|
228
|
-
* Groonga::Hashが返る。
|
215
|
+
* {Groonga::Hash} を返す。マッチするレコードがない場合は空の
|
216
|
+
* {Groonga::Hash} が返る。
|
229
217
|
*
|
230
218
|
* _options_ で +:result+ を指定することにより、そのテーブルにマッ
|
231
219
|
* チしたレコードIDがキーのレコードを追加することができる。
|
232
220
|
* +:result+ にテーブルを指定した場合は、そのテーブルが返る。
|
233
221
|
*
|
234
|
-
* _options_ に指定可能な値は以下の通り。
|
235
|
-
* @param [::Hash] options The name and value
|
236
|
-
* pairs. Omitted names are initialized as the default value
|
237
|
-
*
|
238
|
-
* @option options :result The result
|
239
|
-
*
|
240
|
-
* 結果を格納するテーブル。
|
241
|
-
*
|
242
222
|
* @example 複数のキーで検索し、結果を1つのテーブルに集める。
|
243
223
|
* result = nil
|
244
224
|
* keys = ["morita", "gunyara-kun", "yu"]
|
@@ -249,6 +229,13 @@ rb_grn_hash_s_create (int argc, VALUE *argv, VALUE klass)
|
|
249
229
|
* user = record.key
|
250
230
|
* p user.key # -> "morita"または"gunyara-kun"または"yu"
|
251
231
|
* end
|
232
|
+
*
|
233
|
+
* @overload search(key, options=nil)
|
234
|
+
* @param [::Hash] options The name and value
|
235
|
+
* pairs. Omitted names are initialized as the default value
|
236
|
+
* @option options :result
|
237
|
+
* 結果を格納するテーブル。
|
238
|
+
* @return [Groonga::Hash]
|
252
239
|
*/
|
253
240
|
static VALUE
|
254
241
|
rb_grn_hash_search (int argc, VALUE *argv, VALUE self)
|
@@ -64,7 +64,7 @@ rb_grn_index_column_bind (RbGrnIndexColumn *rb_grn_index_column,
|
|
64
64
|
rb_grn_object->domain_id);
|
65
65
|
rb_grn_index_column->string_query = grn_obj_open(context, GRN_BULK,
|
66
66
|
GRN_OBJ_DO_SHALLOW_COPY,
|
67
|
-
|
67
|
+
GRN_DB_SHORT_TEXT);
|
68
68
|
}
|
69
69
|
|
70
70
|
void
|
@@ -96,39 +96,12 @@ rb_grn_index_column_deconstruct (RbGrnIndexColumn *rb_grn_index_column,
|
|
96
96
|
}
|
97
97
|
|
98
98
|
/*
|
99
|
-
* call-seq:
|
100
|
-
* column[id] = value
|
101
|
-
* column[id] = options
|
102
|
-
*
|
103
99
|
* IDが _id_ であるレコードを高速に全文検索するため転置索引を作
|
104
|
-
* 成する。多くの場合、Groonga::Table#define_index_columnで
|
100
|
+
* 成する。多くの場合、 {Groonga::Table#define_index_column} で
|
105
101
|
* +:source+ オプションを指定することにより、自動的に全文検索
|
106
102
|
* 用の索引は更新されるので、明示的にこのメソッドを使うこと
|
107
103
|
* は少ない。
|
108
104
|
*
|
109
|
-
* _value_ には文字列を指定する。
|
110
|
-
*
|
111
|
-
* _options_ を指定することにより、より索引の作成を制御できる。
|
112
|
-
* @param [::Hash] options The name and value
|
113
|
-
* pairs. Omitted names are initialized as the default value
|
114
|
-
* @option options :section The section
|
115
|
-
*
|
116
|
-
* 段落番号を指定する。省略した場合は1を指定したとみなされ
|
117
|
-
* る。
|
118
|
-
* Groonga::Table#define_index_columnで
|
119
|
-
* <tt>{:with_section => true}</tt>を指定していなければい
|
120
|
-
* けない。
|
121
|
-
*
|
122
|
-
* @option options :old_value The old_value
|
123
|
-
*
|
124
|
-
* 以前の値を指定する。省略した場合は現在の値が用いられる。
|
125
|
-
* 通常は指定する必要はない。
|
126
|
-
*
|
127
|
-
* @option options :value The value
|
128
|
-
* 新しい値を指定する。 _value_ を指定した場合と _options_ で
|
129
|
-
* <tt>{:value => value}</tt>を指定した場合は同じ動作とな
|
130
|
-
* る。
|
131
|
-
*
|
132
105
|
* @example 記事の段落毎に索引を作成する。
|
133
106
|
* articles = Groonga::Array.create(:name => "<articles>")
|
134
107
|
* articles.define_column("title", "ShortText")
|
@@ -163,6 +136,27 @@ rb_grn_index_column_deconstruct (RbGrnIndexColumn *rb_grn_index_column,
|
|
163
136
|
* content_index.search("エンジン").collect do |record|
|
164
137
|
* p record.key["title"] # -> "groonga"
|
165
138
|
* end
|
139
|
+
*
|
140
|
+
* @overload []=(id, value)
|
141
|
+
* @param [String] value 新しい値
|
142
|
+
* @overload []=(id, options)
|
143
|
+
* _options_ を指定することにより、 _value_ を指定したときよりも索引の作
|
144
|
+
* 成を制御できる。
|
145
|
+
* @param [::Hash] options The name and value
|
146
|
+
* pairs. Omitted names are initialized as the default value
|
147
|
+
* @option options :section
|
148
|
+
* 段落番号を指定する。省略した場合は1を指定したとみなされ
|
149
|
+
* る。
|
150
|
+
* {Groonga::Table#define_index_column} で
|
151
|
+
* @{:with_section => true}@ を指定していなければい
|
152
|
+
* けない。
|
153
|
+
* @option options :old_value
|
154
|
+
* 以前の値を指定する。省略した場合は現在の値が用いられる。
|
155
|
+
* 通常は指定する必要はない。
|
156
|
+
* @option options :value
|
157
|
+
* 新しい値を指定する。 _value_ を指定した場合と _options_ で
|
158
|
+
* @{:value => value}@ を指定した場合は同じ動作とな
|
159
|
+
* る。
|
166
160
|
*/
|
167
161
|
static VALUE
|
168
162
|
rb_grn_index_column_array_set (VALUE self, VALUE rb_id, VALUE rb_value)
|
@@ -226,10 +220,10 @@ rb_grn_index_column_array_set (VALUE self, VALUE rb_id, VALUE rb_value)
|
|
226
220
|
}
|
227
221
|
|
228
222
|
/*
|
229
|
-
*
|
230
|
-
* column.sources -> Groonga::Columnの配列
|
223
|
+
* インデックス対象となっている {Groonga::Column} の配列を返す。
|
231
224
|
*
|
232
|
-
*
|
225
|
+
* @overload sources
|
226
|
+
* @return [::Array<Groonga::Column>]
|
233
227
|
*/
|
234
228
|
static VALUE
|
235
229
|
rb_grn_index_column_get_sources (VALUE self)
|
@@ -240,6 +234,7 @@ rb_grn_index_column_get_sources (VALUE self)
|
|
240
234
|
grn_id *source_ids;
|
241
235
|
VALUE rb_sources;
|
242
236
|
int i, n;
|
237
|
+
VALUE exception;
|
243
238
|
|
244
239
|
rb_grn_index_column_deconstruct(SELF(self), &column, &context,
|
245
240
|
NULL, NULL,
|
@@ -258,6 +253,12 @@ rb_grn_index_column_get_sources (VALUE self)
|
|
258
253
|
VALUE rb_source;
|
259
254
|
|
260
255
|
source = grn_ctx_at(context, *source_ids);
|
256
|
+
exception = rb_grn_context_to_exception(context, self);
|
257
|
+
if (!NIL_P(exception)) {
|
258
|
+
grn_obj_unlink(context, &sources);
|
259
|
+
rb_exc_raise(exception);
|
260
|
+
}
|
261
|
+
|
261
262
|
rb_source = GRNOBJECT2RVAL(Qnil, context, source, GRN_FALSE);
|
262
263
|
rb_ary_push(rb_sources, rb_source);
|
263
264
|
source_ids++;
|
@@ -333,10 +334,10 @@ resolve_source_id (grn_ctx *context, grn_obj *column, grn_id range_id,
|
|
333
334
|
}
|
334
335
|
|
335
336
|
/*
|
336
|
-
* call-seq:
|
337
|
-
* column.sources = Groonga::Columnの配列
|
338
|
-
*
|
339
337
|
* インデックス対象となる複数のカラムを配列で設定する。
|
338
|
+
*
|
339
|
+
* @overload sources=(columns)
|
340
|
+
* @param [::Array<Groonga::Column>] columns インデックス対象となるカラムの配列
|
340
341
|
*/
|
341
342
|
static VALUE
|
342
343
|
rb_grn_index_column_set_sources (VALUE self, VALUE rb_sources)
|
@@ -381,10 +382,10 @@ rb_grn_index_column_set_sources (VALUE self, VALUE rb_sources)
|
|
381
382
|
}
|
382
383
|
|
383
384
|
/*
|
384
|
-
* call-seq:
|
385
|
-
* column.source = Groonga::Column
|
386
|
-
*
|
387
385
|
* インデックス対象となるカラムを設定する。
|
386
|
+
*
|
387
|
+
* @overload source=(column)
|
388
|
+
* @param [Groonga::Column] column インデックス対象とするカラム
|
388
389
|
*/
|
389
390
|
static VALUE
|
390
391
|
rb_grn_index_column_set_source (VALUE self, VALUE rb_source)
|
@@ -396,43 +397,35 @@ rb_grn_index_column_set_source (VALUE self, VALUE rb_source)
|
|
396
397
|
}
|
397
398
|
|
398
399
|
/*
|
399
|
-
* Document-method: search
|
400
|
-
*
|
401
|
-
* call-seq:
|
402
|
-
* column.search(query, options={}) -> Groonga::Hash
|
403
|
-
*
|
404
400
|
* _object_ から _query_ に対応するオブジェクトを検索し、見つかっ
|
405
|
-
* たオブジェクトのIDがキーになっているGroonga::Hashを返す。
|
406
|
-
*
|
407
|
-
* 利用可能なオプションは以下の通り。
|
408
|
-
* @param [::Hash] options The name and value
|
409
|
-
* pairs. Omitted names are initialized as the default value
|
410
|
-
* @option options [Groonga::Hash] :result The result
|
411
|
-
* 結果を格納するGroonga::Hash。指定しない場合は新しく
|
412
|
-
* Groonga::Hashを生成し、それに結果を格納して返す。
|
413
|
-
* @option options :operator The operator
|
414
|
-
*
|
415
|
-
* 以下のどれかの値を指定する。 +nil+ , <tt>"or"</tt>, <tt>"||"</tt>,
|
416
|
-
* <tt>"and"</tt>, <tt>"+"</tt>, <tt>"&&"</tt>, <tt>"but"</tt>,
|
417
|
-
* <tt>"not"</tt>, <tt>"-"</tt>, <tt>"adjust"</tt>, <tt>">"</tt>。
|
418
|
-
* それぞれ以下のようになる。(FIXME: 「以下」)
|
419
|
-
* @option options :exact The exact
|
401
|
+
* たオブジェクトのIDがキーになっている {Groonga::Hash} を返す。
|
420
402
|
*
|
421
|
-
*
|
422
|
-
*
|
423
|
-
*
|
424
|
-
*
|
425
|
-
*
|
426
|
-
*
|
427
|
-
*
|
428
|
-
* @
|
429
|
-
*
|
430
|
-
*
|
431
|
-
*
|
432
|
-
*
|
433
|
-
*
|
434
|
-
*
|
435
|
-
*
|
403
|
+
* @overload search(query, options={})
|
404
|
+
* @param [::Hash] options The name and value
|
405
|
+
* pairs. Omitted names are initialized as the default value
|
406
|
+
* @option options [Groonga::Hash] :result
|
407
|
+
* 結果を格納するGroonga::Hash。指定しない場合は新しく
|
408
|
+
* Groonga::Hashを生成し、それに結果を格納して返す。
|
409
|
+
* @option options :operator
|
410
|
+
* 以下のどれかの値を指定する。 +nil+ , @"or"@ , @"||"@ ,
|
411
|
+
* @"and"@ , @"+"@ , @"&&"@ , @"but"@ ,
|
412
|
+
* @"not"@ , @"-"@ , @"adjust"@ , @">"@ 。
|
413
|
+
* それぞれ以下のようになる。(FIXME: 「以下」)
|
414
|
+
* @option options :exact
|
415
|
+
* +true+ を指定すると完全一致で検索する
|
416
|
+
* @option options :longest_common_prefix
|
417
|
+
* +true+ を指定すると _query_ と同じ接頭辞をもつエントリのう
|
418
|
+
* ち、もっとも長いエントリを検索する
|
419
|
+
* @option options :suffix
|
420
|
+
* +true+ を指定すると _query_ が後方一致するエントリを検索す
|
421
|
+
* る
|
422
|
+
* @option options :prefix
|
423
|
+
* +true+ を指定すると _query_ が前方一致するレコードを検索す
|
424
|
+
* る
|
425
|
+
* @option options :near
|
426
|
+
* +true+ を指定すると _query_ に指定した複数の語が近傍に含ま
|
427
|
+
* れるレコードを検索する
|
428
|
+
* @return [Groonga::Hash]
|
436
429
|
*/
|
437
430
|
static VALUE
|
438
431
|
rb_grn_index_column_search (int argc, VALUE *argv, VALUE self)
|
@@ -489,12 +482,9 @@ rb_grn_index_column_search (int argc, VALUE *argv, VALUE self)
|
|
489
482
|
}
|
490
483
|
|
491
484
|
/*
|
492
|
-
* Document-method: with_section?
|
493
|
-
*
|
494
|
-
* call-seq:
|
495
|
-
* column.with_section? -> true/false
|
496
|
-
*
|
497
485
|
* _column_ が段落情報も格納する場合は +true+ を返します。
|
486
|
+
*
|
487
|
+
* @overload with_section?
|
498
488
|
*/
|
499
489
|
static VALUE
|
500
490
|
rb_grn_index_column_with_section_p (VALUE self)
|
@@ -510,12 +500,9 @@ rb_grn_index_column_with_section_p (VALUE self)
|
|
510
500
|
}
|
511
501
|
|
512
502
|
/*
|
513
|
-
* Document-method: with_weight?
|
514
|
-
*
|
515
|
-
* call-seq:
|
516
|
-
* column.with_weight? -> true/false
|
517
|
-
*
|
518
503
|
* _column_ がウェイト情報も格納する場合は +true+ を返します。
|
504
|
+
*
|
505
|
+
* @overload with_weight?
|
519
506
|
*/
|
520
507
|
static VALUE
|
521
508
|
rb_grn_index_column_with_weight_p (VALUE self)
|
@@ -531,12 +518,9 @@ rb_grn_index_column_with_weight_p (VALUE self)
|
|
531
518
|
}
|
532
519
|
|
533
520
|
/*
|
534
|
-
* Document-method: with_position?
|
535
|
-
*
|
536
|
-
* call-seq:
|
537
|
-
* column.with_position? -> true/false
|
538
|
-
*
|
539
521
|
* _column_ が位置情報も格納する場合は +true+ を返します。
|
522
|
+
*
|
523
|
+
* @overload with_position?
|
540
524
|
*/
|
541
525
|
static VALUE
|
542
526
|
rb_grn_index_column_with_position_p (VALUE self)
|
@@ -556,23 +540,29 @@ rb_grn_index_column_open_cursor (VALUE self, VALUE rb_table_cursor)
|
|
556
540
|
{
|
557
541
|
grn_ctx *context;
|
558
542
|
grn_obj *column;
|
543
|
+
grn_obj *range_object;
|
559
544
|
grn_table_cursor *table_cursor;
|
560
545
|
grn_id rid_min = GRN_ID_NIL;
|
561
546
|
grn_id rid_max = GRN_ID_MAX;
|
562
547
|
int flags = 0;
|
563
548
|
grn_obj *index_cursor;
|
549
|
+
VALUE rb_table;
|
550
|
+
VALUE rb_lexicon;
|
564
551
|
VALUE rb_cursor;
|
565
552
|
|
566
553
|
rb_grn_index_column_deconstruct(SELF(self), &column, &context,
|
567
554
|
NULL, NULL,
|
568
|
-
NULL, NULL,
|
555
|
+
NULL, NULL,
|
556
|
+
NULL, &range_object,
|
569
557
|
NULL, NULL);
|
570
558
|
table_cursor = RVAL2GRNTABLECURSOR(rb_table_cursor, NULL);
|
559
|
+
rb_table = GRNOBJECT2RVAL(Qnil, context, range_object, GRN_FALSE);
|
560
|
+
rb_lexicon = rb_iv_get(rb_table_cursor, "@table");
|
571
561
|
|
572
562
|
index_cursor = grn_index_cursor_open(context, table_cursor,
|
573
563
|
column, rid_min, rid_max, flags);
|
574
564
|
|
575
|
-
rb_cursor = GRNINDEXCURSOR2RVAL(context, index_cursor);
|
565
|
+
rb_cursor = GRNINDEXCURSOR2RVAL(context, index_cursor, rb_table, rb_lexicon);
|
576
566
|
|
577
567
|
if (rb_block_given_p())
|
578
568
|
return rb_ensure(rb_yield, rb_cursor, rb_grn_object_close, rb_cursor);
|
@@ -1,6 +1,7 @@
|
|
1
1
|
/* -*- coding: utf-8; c-file-style: "ruby" -*- */
|
2
2
|
/*
|
3
3
|
Copyright (C) 2011 Haruka Yoshihara <yoshihara@clear-code.com>
|
4
|
+
Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
|
4
5
|
|
5
6
|
This library is free software; you can redistribute it and/or
|
6
7
|
modify it under the terms of the GNU Lesser General Public
|
@@ -25,9 +26,17 @@ VALUE rb_cGrnIndexCursor;
|
|
25
26
|
VALUE
|
26
27
|
rb_grn_index_cursor_to_ruby_object (grn_ctx *context,
|
27
28
|
grn_obj *cursor,
|
29
|
+
VALUE rb_table,
|
30
|
+
VALUE rb_lexicon,
|
28
31
|
grn_bool owner)
|
29
32
|
{
|
30
|
-
|
33
|
+
VALUE rb_cursor;
|
34
|
+
|
35
|
+
rb_cursor = GRNOBJECT2RVAL(rb_cGrnIndexCursor, context, cursor, owner);
|
36
|
+
rb_iv_set(rb_cursor, "@table", rb_table);
|
37
|
+
rb_iv_set(rb_cursor, "@lexicon", rb_lexicon);
|
38
|
+
|
39
|
+
return rb_cursor;
|
31
40
|
}
|
32
41
|
|
33
42
|
void
|
@@ -47,6 +56,20 @@ rb_grn_index_cursor_deconstruct (RbGrnIndexCursor *rb_grn_index_cursor,
|
|
47
56
|
range_id, range);
|
48
57
|
}
|
49
58
|
|
59
|
+
static VALUE
|
60
|
+
next_value (grn_ctx *context, grn_obj *cursor, VALUE rb_table, VALUE rb_lexicon)
|
61
|
+
{
|
62
|
+
grn_posting *posting;
|
63
|
+
grn_id term_id;
|
64
|
+
|
65
|
+
posting = grn_index_cursor_next(context, cursor, &term_id);
|
66
|
+
if (!posting) {
|
67
|
+
return Qnil;
|
68
|
+
}
|
69
|
+
|
70
|
+
return rb_grn_posting_new(posting, term_id, rb_table, rb_lexicon);
|
71
|
+
}
|
72
|
+
|
50
73
|
static VALUE
|
51
74
|
rb_grn_index_cursor_next (VALUE self)
|
52
75
|
{
|
@@ -56,16 +79,12 @@ rb_grn_index_cursor_next (VALUE self)
|
|
56
79
|
|
57
80
|
rb_grn_index_cursor_deconstruct(SELF(self), &cursor, &context,
|
58
81
|
NULL, NULL, NULL, NULL);
|
59
|
-
|
60
82
|
if (context && cursor) {
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
if (posting) {
|
67
|
-
rb_posting = rb_grn_posting_new(posting, tid);
|
68
|
-
}
|
83
|
+
VALUE rb_table;
|
84
|
+
VALUE rb_lexicon;
|
85
|
+
rb_table = rb_iv_get(self, "@table");
|
86
|
+
rb_lexicon = rb_iv_get(self, "@lexicon");
|
87
|
+
rb_posting = next_value(context, cursor, rb_table, rb_lexicon);
|
69
88
|
}
|
70
89
|
|
71
90
|
return rb_posting;
|
@@ -77,17 +96,31 @@ rb_grn_index_cursor_each (VALUE self)
|
|
77
96
|
{
|
78
97
|
grn_obj *cursor;
|
79
98
|
grn_ctx *context;
|
99
|
+
VALUE rb_table;
|
100
|
+
VALUE rb_lexicon;
|
101
|
+
|
102
|
+
RETURN_ENUMERATOR(self, 0, NULL);
|
80
103
|
|
81
104
|
rb_grn_index_cursor_deconstruct(SELF(self), &cursor, &context,
|
82
105
|
NULL, NULL, NULL, NULL);
|
83
106
|
|
84
|
-
if (context
|
85
|
-
|
86
|
-
|
107
|
+
if (!context) {
|
108
|
+
return Qnil;
|
109
|
+
}
|
110
|
+
|
111
|
+
if (!cursor) {
|
112
|
+
return Qnil;
|
113
|
+
}
|
87
114
|
|
88
|
-
|
89
|
-
|
115
|
+
rb_table = rb_iv_get(self, "@table");
|
116
|
+
rb_lexicon = rb_iv_get(self, "@lexicon");
|
117
|
+
while (GRN_TRUE) {
|
118
|
+
VALUE rb_posting;
|
119
|
+
rb_posting = next_value(context, cursor, rb_table, rb_lexicon);
|
120
|
+
if (NIL_P(rb_posting)) {
|
121
|
+
break;
|
90
122
|
}
|
123
|
+
rb_yield(rb_posting);
|
91
124
|
}
|
92
125
|
|
93
126
|
return Qnil;
|