rroonga 4.0.7-x86-mingw32 → 4.0.8-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +13 -5
 - data/README.md +1 -1
 - data/doc/text/news.textile +17 -1
 - data/ext/groonga/extconf.rb +2 -1
 - data/ext/groonga/rb-grn-column.c +31 -0
 - data/ext/groonga/rb-grn-database.c +33 -1
 - data/ext/groonga/rb-grn-table.c +1 -1
 - data/ext/groonga/rb-grn.h +1 -1
 - data/lib/1.9/groonga.so +0 -0
 - data/lib/2.0/groonga.so +0 -0
 - data/lib/2.1/groonga.so +0 -0
 - data/lib/groonga/geo-point.rb +2 -1
 - data/rroonga-build.rb +3 -3
 - data/test/test-column.rb +68 -6
 - data/test/test-command-select.rb +0 -3
 - data/test/test-database.rb +28 -1
 - data/test/test-expression-builder.rb +1 -1
 - data/test/test-geo-point.rb +15 -0
 - data/test/test-variable-size-column.rb +2 -2
 - data/vendor/local/bin/grndb.exe +0 -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/libonig-5.dll +0 -0
 - data/vendor/local/bin/libstdc++-6.dll +0 -0
 - data/vendor/local/bin/libwinpthread-1.dll +0 -0
 - data/vendor/local/bin/lz4.exe +0 -0
 - data/vendor/local/bin/lz4c.exe +0 -0
 - data/vendor/local/bin/lz4cat +0 -0
 - data/vendor/local/bin/mecab-config +2 -2
 - data/vendor/local/bin/mecab.exe +0 -0
 - data/vendor/local/bin/onig-config +1 -1
 - data/vendor/local/bin/zlib1.dll +0 -0
 - data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
 - data/vendor/local/include/groonga/groonga.h +1 -0
 - data/vendor/local/include/groonga/groonga/groonga.h +4 -1
 - data/vendor/local/include/groonga/groonga/request_canceler.h +39 -0
 - data/vendor/local/include/lz4.h +21 -29
 - data/vendor/local/include/lz4frame.h +252 -0
 - data/vendor/local/include/lz4hc.h +14 -63
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
 - data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/eval.la +3 -3
 - data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/load.la +3 -3
 - 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 +3 -3
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +3 -3
 - 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/groonga/scripts/ruby/command/grndb.rb +169 -0
 - data/vendor/local/lib/groonga/scripts/ruby/database.rb +19 -0
 - data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +4 -0
 - data/vendor/local/lib/groonga/scripts/ruby/initialize/pre.rb +1 -0
 - data/vendor/local/lib/groonga/scripts/ruby/require.rb +68 -0
 - data/vendor/local/lib/groonga/scripts/ruby/table_cursor.rb +11 -0
 - 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/liblz4.a +0 -0
 - data/vendor/local/lib/liblz4.dll +0 -0
 - data/vendor/local/lib/liblz4.dll.1 +0 -0
 - data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
 - data/vendor/local/lib/libmecab.a +0 -0
 - data/vendor/local/lib/libmecab.dll.a +0 -0
 - data/vendor/local/lib/libmecab.la +3 -3
 - data/vendor/local/lib/libmsgpack.a +0 -0
 - data/vendor/local/lib/libmsgpack.dll.a +0 -0
 - data/vendor/local/lib/libmsgpack.la +3 -3
 - data/vendor/local/lib/libmsgpackc.a +0 -0
 - data/vendor/local/lib/libmsgpackc.dll.a +0 -0
 - data/vendor/local/lib/libmsgpackc.la +3 -3
 - data/vendor/local/lib/libonig.a +0 -0
 - data/vendor/local/lib/libonig.dll.a +0 -0
 - data/vendor/local/lib/libonig.la +2 -2
 - data/vendor/local/lib/libz.a +0 -0
 - data/vendor/local/lib/libz.dll.a +0 -0
 - data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
 - data/vendor/local/lib/pkgconfig/liblz4.pc +6 -6
 - data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
 - data/vendor/local/lib/pkgconfig/oniguruma.pc +6 -6
 - data/vendor/local/lib/pkgconfig/zlib.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 +1 -1
 - data/vendor/local/sbin/groonga-httpd.exe +0 -0
 - data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -12
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +10 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +10 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +75 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +16 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_db.txt +40 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_id.txt +41 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +3 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/lock_clear.txt +91 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +139 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +39 -14
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grndb.txt +84 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +2 -21
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +16 -7
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/basic.css +5 -67
 - data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +0 -25
 - data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/file.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +2 -4
 - data/vendor/local/share/doc/groonga/en/html/_static/minus.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/plus.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +14 -14
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/client.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +33 -35
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +22 -14
 - data/vendor/local/share/doc/groonga/en/html/index.html +84 -82
 - data/vendor/local/share/doc/groonga/en/html/install.html +31 -33
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +28 -30
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +29 -25
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +25 -27
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +88 -90
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -26
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +30 -32
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/news.html +226 -147
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +32 -34
 - data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +27 -29
 - data/vendor/local/share/doc/groonga/en/html/news/2.x.html +97 -99
 - data/vendor/local/share/doc/groonga/en/html/news/3.x.html +69 -71
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.html +83 -81
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +31 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +43 -45
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +93 -65
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +27 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +61 -63
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +86 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +28 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +64 -66
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +26 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +29 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +27 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +26 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +26 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +25 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +74 -76
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +29 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +60 -62
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +49 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +25 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +19 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +22 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +59 -61
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +54 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +58 -60
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +173 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +110 -112
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +57 -59
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +59 -61
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +44 -43
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +55 -57
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +90 -92
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +59 -61
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +55 -57
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +53 -55
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +61 -63
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +221 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +81 -83
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +48 -50
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +49 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +276 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +54 -56
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +53 -55
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +384 -386
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +45 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +81 -83
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +146 -148
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +49 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +65 -67
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +101 -103
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +45 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +178 -54
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +31 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +224 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +43 -45
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +64 -66
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +111 -113
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +37 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +80 -82
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +56 -58
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +81 -83
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +40 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +19 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +79 -81
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +20 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +51 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +28 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +46 -48
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +42 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +24 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +208 -210
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +260 -262
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +19 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +46 -65
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +36 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +55 -57
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +52 -54
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +58 -58
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +27 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +38 -40
 - data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +32 -34
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +31 -33
 - data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +125 -127
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +31 -33
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -22
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +21 -23
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +50 -52
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -19
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +18 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -22
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +33 -35
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -12
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +10 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +10 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +75 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +16 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_db.txt +40 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_id.txt +41 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +3 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/lock_clear.txt +91 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +139 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +39 -14
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grndb.txt +84 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +2 -21
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +16 -7
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +5 -67
 - data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +0 -25
 - data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/file.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +2 -4
 - data/vendor/local/share/doc/groonga/ja/html/_static/minus.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/plus.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +14 -14
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/client.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +35 -37
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +26 -18
 - data/vendor/local/share/doc/groonga/ja/html/index.html +84 -82
 - data/vendor/local/share/doc/groonga/ja/html/install.html +31 -33
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +31 -27
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +28 -30
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +79 -81
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +21 -23
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +32 -28
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -31
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/news.html +226 -136
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +33 -35
 - data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +27 -29
 - data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +91 -93
 - data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +59 -61
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +83 -81
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +31 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +38 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +87 -59
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +27 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +24 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +55 -57
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +85 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +28 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +50 -52
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +26 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +29 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +27 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +26 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +26 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +75 -77
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +29 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +60 -62
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +49 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +22 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +49 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +54 -53
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +48 -50
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +174 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +109 -111
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +54 -56
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +59 -61
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +44 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +55 -57
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +82 -84
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +56 -58
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +55 -57
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +52 -54
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +54 -56
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +224 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +76 -78
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +48 -50
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +46 -48
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +278 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +54 -56
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +53 -55
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +255 -257
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +43 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +79 -81
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +122 -124
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +39 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +60 -62
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +86 -88
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +45 -47
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +178 -54
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +31 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +222 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +43 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +64 -66
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +99 -101
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +37 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +43 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +80 -82
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +56 -58
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +81 -83
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +40 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +67 -69
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +41 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +30 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +28 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +39 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +28 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +31 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +21 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -117
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +180 -182
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +37 -54
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +32 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +34 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +42 -44
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +55 -55
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +27 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +36 -38
 - data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +26 -28
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +32 -34
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +124 -126
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +30 -32
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +24 -26
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +47 -49
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -22
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +31 -33
 - data/vendor/local/share/groonga/html/admin/index.html +1 -1
 - data/vendor/local/share/groonga/html/admin/index.ja.html +1 -1
 - data/vendor/local/share/license/mruby/AUTHORS +11 -0
 - data/vendor/local/share/license/mruby/README.md +32 -20
 - data/vendor/local/share/man/ja/man1/groonga.1 +952 -259
 - data/vendor/local/share/man/man1/groonga.1 +930 -239
 - metadata +103 -80
 - data/vendor/local/bin/lz4 +0 -0
 - data/vendor/local/bin/lz4c +0 -0
 - data/vendor/local/lib/liblz4.dll.1.4.0 +0 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/jquery-1.11.1.js +0 -10308
 - data/vendor/local/share/doc/groonga/en/html/_static/underscore-1.3.1.js +0 -999
 - data/vendor/local/share/doc/groonga/ja/html/_static/jquery-1.11.1.js +0 -10308
 - data/vendor/local/share/doc/groonga/ja/html/_static/underscore-1.3.1.js +0 -999
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,15 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
      
 2 
     | 
    
         
            +
            !binary "U0hBMQ==":
         
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: !binary |-
         
     | 
| 
      
 4 
     | 
    
         
            +
                OTA0OTZjN2Y5ZDYyZGNkMjJiNTA5Mjk1YjgzYjdlYWExMjdjNGM1Mw==
         
     | 
| 
      
 5 
     | 
    
         
            +
              data.tar.gz: !binary |-
         
     | 
| 
      
 6 
     | 
    
         
            +
                YjAyNjljMDVmN2U2NjI5MTQ4YTQ4ZTY1NmUyMmNkODY3NWVkYWFkNg==
         
     | 
| 
       5 
7 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
      
 8 
     | 
    
         
            +
              metadata.gz: !binary |-
         
     | 
| 
      
 9 
     | 
    
         
            +
                MTE1ZTU2Yjc2YjQ3MzU4M2VlODk4YTQyMmIzZDZhN2NkOTVlMzdlYTgzZWEw
         
     | 
| 
      
 10 
     | 
    
         
            +
                YjdhODBmMjdjMzhhODMwYTFiZTg0NTk0ZWQ4M2NjMTExY2Q4OWY2ZmVkZDI1
         
     | 
| 
      
 11 
     | 
    
         
            +
                Y2YwYWEyZjA4MTNhMjkxNTU1OGQxNTRiY2VjZWIxMDI1MDU1OGY=
         
     | 
| 
      
 12 
     | 
    
         
            +
              data.tar.gz: !binary |-
         
     | 
| 
      
 13 
     | 
    
         
            +
                ZjBkYTlkNTBiNmE2YWY5MzE3MDYwMjA2M2EzYTBlMjkwOGNjMzk2YmRmNWEx
         
     | 
| 
      
 14 
     | 
    
         
            +
                NjRhOTYzYzExZTZkMDkxNDI2MTg4YzUyNjdkMDU0YTkzZThmZjMzNGM3ZWYy
         
     | 
| 
      
 15 
     | 
    
         
            +
                OTg4MTQ5NTNlODAxM2FkODJjNDYzNmFjNWYwNzkxNDAwYjQ4YmQ=
         
     | 
    
        data/README.md
    CHANGED
    
    
    
        data/doc/text/news.textile
    CHANGED
    
    | 
         @@ -1,5 +1,21 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            h1. NEWS
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            h2(#4-0-8). 4.0.8: 2014-01-08
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            h3. Improvements
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Supported Groonga 4.0.9. Groonga 4.0.8 or older aren't supported.
         
     | 
| 
      
 8 
     | 
    
         
            +
            * Added {Groonga::Column#truncate}. [GitHub#41] [Patch by Hiroshi Hatake]
         
     | 
| 
      
 9 
     | 
    
         
            +
            * Added {Groonga::Database#recover}.
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            h3. Fixes
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            * Fixed a typo in {Groonga::GeoPoint#==}.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            h3. Thanks
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            * Hiroshi Hatake
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
       3 
19 
     | 
    
         
             
            h2(#4-0-7). 4.0.7: 2014-12-12
         
     | 
| 
       4 
20 
     | 
    
         | 
| 
       5 
21 
     | 
    
         
             
            h3. Improvements
         
     | 
| 
         @@ -9,7 +25,7 @@ h3. Improvements 
     | 
|
| 
       9 
25 
     | 
    
         
             
              {Groonga::IndexCursor#each}. The option improves performance by
         
     | 
| 
       10 
26 
     | 
    
         
             
              reducing memory allocation. The option is disabled by default because
         
     | 
| 
       11 
27 
     | 
    
         
             
              reusing the same object isn't Rubyish.
         
     | 
| 
       12 
     | 
    
         
            -
            * Added {Groonga:: 
     | 
| 
      
 28 
     | 
    
         
            +
            * Added {Groonga::IndexColumn#estimate_size}. [GitHub#38]
         
     | 
| 
       13 
29 
     | 
    
         
             
            * Accepted string for integer, unsigned integer and float type key.
         
     | 
| 
       14 
30 
     | 
    
         | 
| 
       15 
31 
     | 
    
         
             
            h2(#4-0-6). 4.0.6: 2014-11-06
         
     | 
    
        data/ext/groonga/extconf.rb
    CHANGED
    
    | 
         @@ -192,8 +192,9 @@ def build_groonga_from_git(major, minor, micro) 
     | 
|
| 
       192 
192 
     | 
    
         
             
              FileUtils.rm_rf("groonga")
         
     | 
| 
       193 
193 
     | 
    
         
             
              message(" done\n")
         
     | 
| 
       194 
194 
     | 
    
         | 
| 
      
 195 
     | 
    
         
            +
              repository_url = "https://github.com/groonga/groonga.git"
         
     | 
| 
       195 
196 
     | 
    
         
             
              run_command("cloning...",
         
     | 
| 
       196 
     | 
    
         
            -
                          "git clone --depth 1  
     | 
| 
      
 197 
     | 
    
         
            +
                          "git clone --recursive --depth 1 #{repository_url}")
         
     | 
| 
       197 
198 
     | 
    
         | 
| 
       198 
199 
     | 
    
         
             
              Dir.chdir("groonga") do
         
     | 
| 
       199 
200 
     | 
    
         
             
                run_command("running autogen.sh...",
         
     | 
    
        data/ext/groonga/rb-grn-column.c
    CHANGED
    
    | 
         @@ -608,6 +608,36 @@ rb_grn_column_reference_p (VALUE self) 
     | 
|
| 
       608 
608 
     | 
    
         
             
                }
         
     | 
| 
       609 
609 
     | 
    
         
             
            }
         
     | 
| 
       610 
610 
     | 
    
         | 
| 
      
 611 
     | 
    
         
            +
            /*
         
     | 
| 
      
 612 
     | 
    
         
            +
             * Clears all values in column.
         
     | 
| 
      
 613 
     | 
    
         
            +
             *
         
     | 
| 
      
 614 
     | 
    
         
            +
             * This method is a dangerous method. You can't use this method when
         
     | 
| 
      
 615 
     | 
    
         
            +
             * other process is using the column. The other process that is using
         
     | 
| 
      
 616 
     | 
    
         
            +
             * the column must re-open its database after this method is done.
         
     | 
| 
      
 617 
     | 
    
         
            +
             *
         
     | 
| 
      
 618 
     | 
    
         
            +
             * @since 4.0.8
         
     | 
| 
      
 619 
     | 
    
         
            +
             *
         
     | 
| 
      
 620 
     | 
    
         
            +
             * @overload truncate
         
     | 
| 
      
 621 
     | 
    
         
            +
             *   @return void
         
     | 
| 
      
 622 
     | 
    
         
            +
             */
         
     | 
| 
      
 623 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 624 
     | 
    
         
            +
            rb_grn_column_truncate (VALUE self)
         
     | 
| 
      
 625 
     | 
    
         
            +
            {
         
     | 
| 
      
 626 
     | 
    
         
            +
                grn_ctx *context;
         
     | 
| 
      
 627 
     | 
    
         
            +
                grn_obj *column;
         
     | 
| 
      
 628 
     | 
    
         
            +
                grn_rc rc;
         
     | 
| 
      
 629 
     | 
    
         
            +
             
     | 
| 
      
 630 
     | 
    
         
            +
                rb_grn_column_deconstruct(SELF(self), &column, &context,
         
     | 
| 
      
 631 
     | 
    
         
            +
                                          NULL, NULL,
         
     | 
| 
      
 632 
     | 
    
         
            +
                                          NULL, NULL, NULL);
         
     | 
| 
      
 633 
     | 
    
         
            +
                rc = grn_column_truncate(context, column);
         
     | 
| 
      
 634 
     | 
    
         
            +
             
     | 
| 
      
 635 
     | 
    
         
            +
                rb_grn_context_check(context, self);
         
     | 
| 
      
 636 
     | 
    
         
            +
                rb_grn_rc_check(rc, self);
         
     | 
| 
      
 637 
     | 
    
         
            +
             
     | 
| 
      
 638 
     | 
    
         
            +
                return Qnil;
         
     | 
| 
      
 639 
     | 
    
         
            +
            }
         
     | 
| 
      
 640 
     | 
    
         
            +
             
     | 
| 
       611 
641 
     | 
    
         
             
            /*
         
     | 
| 
       612 
642 
     | 
    
         
             
             * _column_ が {Groonga::IndexColumn} の場合は +true+ を返し、
         
     | 
| 
       613 
643 
     | 
    
         
             
             * そうでない場合は +false+ を返す。
         
     | 
| 
         @@ -802,6 +832,7 @@ rb_grn_init_column (VALUE mGrn) 
     | 
|
| 
       802 
832 
     | 
    
         
             
                rb_define_method(rb_cGrnColumn, "clear_lock", rb_grn_column_clear_lock, -1);
         
     | 
| 
       803 
833 
     | 
    
         
             
                rb_define_method(rb_cGrnColumn, "locked?", rb_grn_column_is_locked, -1);
         
     | 
| 
       804 
834 
     | 
    
         
             
                rb_define_method(rb_cGrnColumn, "reference?", rb_grn_column_reference_p, 0);
         
     | 
| 
      
 835 
     | 
    
         
            +
                rb_define_method(rb_cGrnColumn, "truncate", rb_grn_column_truncate, 0);
         
     | 
| 
       805 
836 
     | 
    
         
             
                /* deprecated: backward compatibility */
         
     | 
| 
       806 
837 
     | 
    
         
             
                rb_define_alias(rb_cGrnColumn, "reference_column?", "reference?");
         
     | 
| 
       807 
838 
     | 
    
         
             
                rb_define_method(rb_cGrnColumn, "index?", rb_grn_column_index_p, 0);
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            /* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
         
     | 
| 
       2 
2 
     | 
    
         
             
            /*
         
     | 
| 
       3 
     | 
    
         
            -
              Copyright (C) 2009- 
     | 
| 
      
 3 
     | 
    
         
            +
              Copyright (C) 2009-2015  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
              This library is free software; you can redistribute it and/or
         
     | 
| 
       6 
6 
     | 
    
         
             
              modify it under the terms of the GNU Lesser General Public
         
     | 
| 
         @@ -562,6 +562,37 @@ rb_grn_database_defrag (int argc, VALUE *argv, VALUE self) 
     | 
|
| 
       562 
562 
     | 
    
         
             
                return INT2NUM(n_segments);
         
     | 
| 
       563 
563 
     | 
    
         
             
            }
         
     | 
| 
       564 
564 
     | 
    
         | 
| 
      
 565 
     | 
    
         
            +
            /*
         
     | 
| 
      
 566 
     | 
    
         
            +
             * Recovers database.
         
     | 
| 
      
 567 
     | 
    
         
            +
             *
         
     | 
| 
      
 568 
     | 
    
         
            +
             * @overload recover()
         
     | 
| 
      
 569 
     | 
    
         
            +
             *
         
     | 
| 
      
 570 
     | 
    
         
            +
             *   If the database is broken, try to recover the database. If the
         
     | 
| 
      
 571 
     | 
    
         
            +
             *   database can't be recovered, an {Groonga::Error} family exception
         
     | 
| 
      
 572 
     | 
    
         
            +
             *   is raised.
         
     | 
| 
      
 573 
     | 
    
         
            +
             *
         
     | 
| 
      
 574 
     | 
    
         
            +
             *   If the database isn't broken, it does nothing.
         
     | 
| 
      
 575 
     | 
    
         
            +
             *
         
     | 
| 
      
 576 
     | 
    
         
            +
             *   @return [void]
         
     | 
| 
      
 577 
     | 
    
         
            +
             *
         
     | 
| 
      
 578 
     | 
    
         
            +
             * @since 4.0.8
         
     | 
| 
      
 579 
     | 
    
         
            +
             */
         
     | 
| 
      
 580 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 581 
     | 
    
         
            +
            rb_grn_database_recover (VALUE self)
         
     | 
| 
      
 582 
     | 
    
         
            +
            {
         
     | 
| 
      
 583 
     | 
    
         
            +
                grn_rc rc;
         
     | 
| 
      
 584 
     | 
    
         
            +
                grn_ctx *context;
         
     | 
| 
      
 585 
     | 
    
         
            +
                grn_obj *database;
         
     | 
| 
      
 586 
     | 
    
         
            +
             
     | 
| 
      
 587 
     | 
    
         
            +
                rb_grn_database_deconstruct(SELF(self), &database, &context,
         
     | 
| 
      
 588 
     | 
    
         
            +
                                            NULL, NULL, NULL, NULL);
         
     | 
| 
      
 589 
     | 
    
         
            +
                rc = grn_db_recover(context, database);
         
     | 
| 
      
 590 
     | 
    
         
            +
                rb_grn_context_check(context, self);
         
     | 
| 
      
 591 
     | 
    
         
            +
                rb_grn_rc_check(rc, self);
         
     | 
| 
      
 592 
     | 
    
         
            +
             
     | 
| 
      
 593 
     | 
    
         
            +
                return Qnil;
         
     | 
| 
      
 594 
     | 
    
         
            +
            }
         
     | 
| 
      
 595 
     | 
    
         
            +
             
     | 
| 
       565 
596 
     | 
    
         
             
            void
         
     | 
| 
       566 
597 
     | 
    
         
             
            rb_grn_init_database (VALUE mGrn)
         
     | 
| 
       567 
598 
     | 
    
         
             
            {
         
     | 
| 
         @@ -593,4 +624,5 @@ rb_grn_init_database (VALUE mGrn) 
     | 
|
| 
       593 
624 
     | 
    
         | 
| 
       594 
625 
     | 
    
         
             
                rb_define_method(rb_cGrnDatabase, "touch", rb_grn_database_touch, 0);
         
     | 
| 
       595 
626 
     | 
    
         
             
                rb_define_method(rb_cGrnDatabase, "defrag", rb_grn_database_defrag, -1);
         
     | 
| 
      
 627 
     | 
    
         
            +
                rb_define_method(rb_cGrnDatabase, "recover", rb_grn_database_recover, 0);
         
     | 
| 
       596 
628 
     | 
    
         
             
            }
         
     | 
    
        data/ext/groonga/rb-grn-table.c
    CHANGED
    
    | 
         @@ -2184,7 +2184,7 @@ rb_grn_table_select (int argc, VALUE *argv, VALUE self) 
     | 
|
| 
       2184 
2184 
     | 
    
         
             
                    if (!NIL_P(options))
         
     | 
| 
       2185 
2185 
     | 
    
         
             
                        rb_raise(rb_eArgError,
         
     | 
| 
       2186 
2186 
     | 
    
         
             
                                 "should be [query_string, option_hash], "
         
     | 
| 
       2187 
     | 
    
         
            -
                                 "[expression,  
     | 
| 
      
 2187 
     | 
    
         
            +
                                 "[expression, option_hash] "
         
     | 
| 
       2188 
2188 
     | 
    
         
             
                                 "or [option_hash]: %s",
         
     | 
| 
       2189 
2189 
     | 
    
         
             
                                 rb_grn_inspect(rb_ary_new4(argc, argv)));
         
     | 
| 
       2190 
2190 
     | 
    
         
             
                    options = condition_or_options;
         
     | 
    
        data/ext/groonga/rb-grn.h
    CHANGED
    
    
    
        data/lib/1.9/groonga.so
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/lib/2.0/groonga.so
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/lib/2.1/groonga.so
    CHANGED
    
    | 
         Binary file 
     | 
    
        data/lib/groonga/geo-point.rb
    CHANGED
    
    | 
         @@ -1,6 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # -*- coding: utf-8 -*-
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
3 
     | 
    
         
             
            # Copyright (C) 2012  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
      
 4 
     | 
    
         
            +
            # Copyright (C) 2014  Masafumi Yokoyama <myokoym@gmail.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
         
     | 
| 
         @@ -136,7 +137,7 @@ module Groonga 
     | 
|
| 
       136 
137 
     | 
    
         
             
                def ==(other)
         
     | 
| 
       137 
138 
     | 
    
         
             
                  case other
         
     | 
| 
       138 
139 
     | 
    
         
             
                  when String
         
     | 
| 
       139 
     | 
    
         
            -
                    to_s ==  
     | 
| 
      
 140 
     | 
    
         
            +
                    to_s == other
         
     | 
| 
       140 
141 
     | 
    
         
             
                  when GeoPoint
         
     | 
| 
       141 
142 
     | 
    
         
             
                    normalized_self = to_msec
         
     | 
| 
       142 
143 
     | 
    
         
             
                    normalized_other = coerce(other).to_msec
         
     | 
    
        data/rroonga-build.rb
    CHANGED
    
    | 
         @@ -19,15 +19,15 @@ module RroongaBuild 
     | 
|
| 
       19 
19 
     | 
    
         
             
              module RequiredGroongaVersion
         
     | 
| 
       20 
20 
     | 
    
         
             
                MAJOR = 4
         
     | 
| 
       21 
21 
     | 
    
         
             
                MINOR = 0
         
     | 
| 
       22 
     | 
    
         
            -
                MICRO =  
     | 
| 
      
 22 
     | 
    
         
            +
                MICRO = 9
         
     | 
| 
       23 
23 
     | 
    
         
             
                VERSION = [MAJOR, MINOR, MICRO]
         
     | 
| 
       24 
     | 
    
         
            -
                RELEASED_DATE = Time.utc(2014,  
     | 
| 
      
 24 
     | 
    
         
            +
                RELEASED_DATE = Time.utc(2014, 12, 29)
         
     | 
| 
       25 
25 
     | 
    
         
             
              end
         
     | 
| 
       26 
26 
     | 
    
         | 
| 
       27 
27 
     | 
    
         
             
              module LatestGroongaVersion
         
     | 
| 
       28 
28 
     | 
    
         
             
                MAJOR = 4
         
     | 
| 
       29 
29 
     | 
    
         
             
                MINOR = 0
         
     | 
| 
       30 
     | 
    
         
            -
                MICRO =  
     | 
| 
      
 30 
     | 
    
         
            +
                MICRO = 9
         
     | 
| 
       31 
31 
     | 
    
         
             
                VERSION = [MAJOR, MINOR, MICRO]
         
     | 
| 
       32 
32 
     | 
    
         
             
              end
         
     | 
| 
       33 
33 
     | 
    
         | 
    
        data/test/test-column.rb
    CHANGED
    
    | 
         @@ -172,7 +172,7 @@ class ColumnTest < Test::Unit::TestCase 
     | 
|
| 
       172 
172 
     | 
    
         
             
                assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
         
     | 
| 
       173 
173 
     | 
    
         
             
            #<Groonga::Expression #<expr
         
     | 
| 
       174 
174 
     | 
    
         
             
              vars:{
         
     | 
| 
       175 
     | 
    
         
            -
                $1:#<record:hash:Posts id: 
     | 
| 
      
 175 
     | 
    
         
            +
                $1:#<record:hash:Posts id:(no value)>
         
     | 
| 
       176 
176 
     | 
    
         
             
              },
         
     | 
| 
       177 
177 
     | 
    
         
             
              codes:{
         
     | 
| 
       178 
178 
     | 
    
         
             
                0:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
         
     | 
| 
         @@ -212,7 +212,7 @@ class ColumnTest < Test::Unit::TestCase 
     | 
|
| 
       212 
212 
     | 
    
         
             
                assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
         
     | 
| 
       213 
213 
     | 
    
         
             
            #<Groonga::Expression #<expr
         
     | 
| 
       214 
214 
     | 
    
         
             
              vars:{
         
     | 
| 
       215 
     | 
    
         
            -
                $1:#<record:hash:Posts id: 
     | 
| 
      
 215 
     | 
    
         
            +
                $1:#<record:hash:Posts id:(no value)>
         
     | 
| 
       216 
216 
     | 
    
         
             
              },
         
     | 
| 
       217 
217 
     | 
    
         
             
              codes:{
         
     | 
| 
       218 
218 
     | 
    
         
             
                0:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
         
     | 
| 
         @@ -239,10 +239,10 @@ class ColumnTest < Test::Unit::TestCase 
     | 
|
| 
       239 
239 
     | 
    
         
             
                assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
         
     | 
| 
       240 
240 
     | 
    
         
             
            #<Groonga::Expression #<expr
         
     | 
| 
       241 
241 
     | 
    
         
             
              vars:{
         
     | 
| 
       242 
     | 
    
         
            -
                $1:#<record:hash:Posts id: 
     | 
| 
      
 242 
     | 
    
         
            +
                $1:#<record:hash:Posts id:(no value)>
         
     | 
| 
       243 
243 
     | 
    
         
             
              },
         
     | 
| 
       244 
244 
     | 
    
         
             
              codes:{
         
     | 
| 
       245 
     | 
    
         
            -
                0:<push(), modify:0, value:#<record:hash:Posts id: 
     | 
| 
      
 245 
     | 
    
         
            +
                0:<push(), modify:0, value:#<record:hash:Posts id:(no value)>>,
         
     | 
| 
       246 
246 
     | 
    
         
             
                1:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
         
     | 
| 
       247 
247 
     | 
    
         
             
                2:<push(), modify:0, value:"drive">,
         
     | 
| 
       248 
248 
     | 
    
         
             
                3:<match(), modify:0, value:(NULL)>
         
     | 
| 
         @@ -264,10 +264,10 @@ class ColumnTest < Test::Unit::TestCase 
     | 
|
| 
       264 
264 
     | 
    
         
             
                assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
         
     | 
| 
       265 
265 
     | 
    
         
             
            #<Groonga::Expression #<expr
         
     | 
| 
       266 
266 
     | 
    
         
             
              vars:{
         
     | 
| 
       267 
     | 
    
         
            -
                $1:#<record:hash:Posts id: 
     | 
| 
      
 267 
     | 
    
         
            +
                $1:#<record:hash:Posts id:(no value)>
         
     | 
| 
       268 
268 
     | 
    
         
             
              },
         
     | 
| 
       269 
269 
     | 
    
         
             
              codes:{
         
     | 
| 
       270 
     | 
    
         
            -
                0:<push(), modify:1, value:#<record:hash:Posts id: 
     | 
| 
      
 270 
     | 
    
         
            +
                0:<push(), modify:1, value:#<record:hash:Posts id:(no value)>>,
         
     | 
| 
       271 
271 
     | 
    
         
             
                1:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
         
     | 
| 
       272 
272 
     | 
    
         
             
                2:<push(), modify:0, value:"drive">,
         
     | 
| 
       273 
273 
     | 
    
         
             
                3:<match(), modify:0, value:(NULL)>
         
     | 
| 
         @@ -518,4 +518,66 @@ class ColumnTest < Test::Unit::TestCase 
     | 
|
| 
       518 
518 
     | 
    
         
             
                  assert_nil(@users.column("name"))
         
     | 
| 
       519 
519 
     | 
    
         
             
                end
         
     | 
| 
       520 
520 
     | 
    
         
             
              end
         
     | 
| 
      
 521 
     | 
    
         
            +
             
     | 
| 
      
 522 
     | 
    
         
            +
              class TruncateTest < self
         
     | 
| 
      
 523 
     | 
    
         
            +
                def setup
         
     | 
| 
      
 524 
     | 
    
         
            +
                  setup_database
         
     | 
| 
      
 525 
     | 
    
         
            +
             
     | 
| 
      
 526 
     | 
    
         
            +
                  setup_schema
         
     | 
| 
      
 527 
     | 
    
         
            +
                end
         
     | 
| 
      
 528 
     | 
    
         
            +
             
     | 
| 
      
 529 
     | 
    
         
            +
                def setup_schema
         
     | 
| 
      
 530 
     | 
    
         
            +
                  Groonga::Schema.define do |schema|
         
     | 
| 
      
 531 
     | 
    
         
            +
                    schema.create_table("Posts",
         
     | 
| 
      
 532 
     | 
    
         
            +
                                        :type => :hash,
         
     | 
| 
      
 533 
     | 
    
         
            +
                                        :key_type => "ShortText") do |table|
         
     | 
| 
      
 534 
     | 
    
         
            +
                      table.text("body")
         
     | 
| 
      
 535 
     | 
    
         
            +
                    end
         
     | 
| 
      
 536 
     | 
    
         
            +
                  end
         
     | 
| 
      
 537 
     | 
    
         
            +
             
     | 
| 
      
 538 
     | 
    
         
            +
                  @posts = Groonga["Posts"]
         
     | 
| 
      
 539 
     | 
    
         
            +
                end
         
     | 
| 
      
 540 
     | 
    
         
            +
             
     | 
| 
      
 541 
     | 
    
         
            +
                def test_not_indexed
         
     | 
| 
      
 542 
     | 
    
         
            +
                  body1 = "body1"
         
     | 
| 
      
 543 
     | 
    
         
            +
                  body2 = "body2"
         
     | 
| 
      
 544 
     | 
    
         
            +
                  records = [
         
     | 
| 
      
 545 
     | 
    
         
            +
                    @posts.add("title1", :body => body1),
         
     | 
| 
      
 546 
     | 
    
         
            +
                    @posts.add("title2", :body => body2),
         
     | 
| 
      
 547 
     | 
    
         
            +
                  ]
         
     | 
| 
      
 548 
     | 
    
         
            +
             
     | 
| 
      
 549 
     | 
    
         
            +
                  assert_equal([body1, body2],
         
     | 
| 
      
 550 
     | 
    
         
            +
                               records.collect(&:body))
         
     | 
| 
      
 551 
     | 
    
         
            +
                  @posts.column("body").truncate
         
     | 
| 
      
 552 
     | 
    
         
            +
                  assert_equal([nil, nil],
         
     | 
| 
      
 553 
     | 
    
         
            +
                               records.collect(&:body))
         
     | 
| 
      
 554 
     | 
    
         
            +
                end
         
     | 
| 
      
 555 
     | 
    
         
            +
             
     | 
| 
      
 556 
     | 
    
         
            +
                def test_indexed
         
     | 
| 
      
 557 
     | 
    
         
            +
                  Groonga::Schema.define do |schema|
         
     | 
| 
      
 558 
     | 
    
         
            +
                    schema.create_table("Terms",
         
     | 
| 
      
 559 
     | 
    
         
            +
                                        :type => :patricia_trie,
         
     | 
| 
      
 560 
     | 
    
         
            +
                                        :key_type => "ShortText",
         
     | 
| 
      
 561 
     | 
    
         
            +
                                        :default_tokenizer => "TokenBigram",
         
     | 
| 
      
 562 
     | 
    
         
            +
                                        :normalizer => "NormalizerAuto") do |table|
         
     | 
| 
      
 563 
     | 
    
         
            +
                      table.index("Posts.body")
         
     | 
| 
      
 564 
     | 
    
         
            +
                    end
         
     | 
| 
      
 565 
     | 
    
         
            +
                  end
         
     | 
| 
      
 566 
     | 
    
         
            +
             
     | 
| 
      
 567 
     | 
    
         
            +
                  post1 = @posts.add("title1", :body => "body1")
         
     | 
| 
      
 568 
     | 
    
         
            +
                  post2 = @posts.add("title2", :body => "body2")
         
     | 
| 
      
 569 
     | 
    
         
            +
             
     | 
| 
      
 570 
     | 
    
         
            +
                  select = lambda do
         
     | 
| 
      
 571 
     | 
    
         
            +
                    @posts.select {|record| record.body =~ "1"}.collect(&:_key)
         
     | 
| 
      
 572 
     | 
    
         
            +
                  end
         
     | 
| 
      
 573 
     | 
    
         
            +
             
     | 
| 
      
 574 
     | 
    
         
            +
                  assert_equal(["title1"], select.call)
         
     | 
| 
      
 575 
     | 
    
         
            +
                  @posts.column("body").truncate
         
     | 
| 
      
 576 
     | 
    
         
            +
                  assert_equal([], select.call)
         
     | 
| 
      
 577 
     | 
    
         
            +
             
     | 
| 
      
 578 
     | 
    
         
            +
                  post1.body = "body1"
         
     | 
| 
      
 579 
     | 
    
         
            +
                  post2.body = "body2"
         
     | 
| 
      
 580 
     | 
    
         
            +
                  assert_equal(["title1"], select.call)
         
     | 
| 
      
 581 
     | 
    
         
            +
                end
         
     | 
| 
      
 582 
     | 
    
         
            +
              end
         
     | 
| 
       521 
583 
     | 
    
         
             
            end
         
     | 
    
        data/test/test-command-select.rb
    CHANGED
    
    | 
         @@ -202,8 +202,6 @@ class CommandSelectTest < Test::Unit::TestCase 
     | 
|
| 
       202 
202 
     | 
    
         
             
              end
         
     | 
| 
       203 
203 
     | 
    
         | 
| 
       204 
204 
     | 
    
         
             
              class EscapeTest < self
         
     | 
| 
       205 
     | 
    
         
            -
                setup :setup_database
         
     | 
| 
       206 
     | 
    
         
            -
             
     | 
| 
       207 
205 
     | 
    
         
             
                def test_backslash
         
     | 
| 
       208 
206 
     | 
    
         
             
                  key = "the \\ book"
         
     | 
| 
       209 
207 
     | 
    
         
             
                  @books.add(key, :published => Time.parse("2011/04/01"))
         
     | 
| 
         @@ -234,5 +232,4 @@ class CommandSelectTest < Test::Unit::TestCase 
     | 
|
| 
       234 
232 
     | 
    
         
             
                               result.records)
         
     | 
| 
       235 
233 
     | 
    
         
             
                end
         
     | 
| 
       236 
234 
     | 
    
         
             
              end
         
     | 
| 
       237 
     | 
    
         
            -
             
     | 
| 
       238 
235 
     | 
    
         
             
            end
         
     | 
    
        data/test/test-database.rb
    CHANGED
    
    | 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # Copyright (C) 2009- 
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright (C) 2009-2015  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
       2 
2 
     | 
    
         
             
            #
         
     | 
| 
       3 
3 
     | 
    
         
             
            # This library is free software; you can redistribute it and/or
         
     | 
| 
       4 
4 
     | 
    
         
             
            # modify it under the terms of the GNU Lesser General Public
         
     | 
| 
         @@ -171,6 +171,33 @@ class DatabaseTest < Test::Unit::TestCase 
     | 
|
| 
       171 
171 
     | 
    
         
             
                assert_equal(2, @database.defrag)
         
     | 
| 
       172 
172 
     | 
    
         
             
              end
         
     | 
| 
       173 
173 
     | 
    
         | 
| 
      
 174 
     | 
    
         
            +
              def test_recover
         
     | 
| 
      
 175 
     | 
    
         
            +
                setup_database
         
     | 
| 
      
 176 
     | 
    
         
            +
                Groonga::Schema.define do |schema|
         
     | 
| 
      
 177 
     | 
    
         
            +
                  schema.create_table("Users") do |table|
         
     | 
| 
      
 178 
     | 
    
         
            +
                    table.short_text("name")
         
     | 
| 
      
 179 
     | 
    
         
            +
                  end
         
     | 
| 
      
 180 
     | 
    
         
            +
             
     | 
| 
      
 181 
     | 
    
         
            +
                  schema.create_table("Terms",
         
     | 
| 
      
 182 
     | 
    
         
            +
                                      :type => :patricia_trie,
         
     | 
| 
      
 183 
     | 
    
         
            +
                                      :key_type => :short_text,
         
     | 
| 
      
 184 
     | 
    
         
            +
                                      :default_tokenizer => "TokenBigram",
         
     | 
| 
      
 185 
     | 
    
         
            +
                                      :normalizer => "NormalizerAuto") do |table|
         
     | 
| 
      
 186 
     | 
    
         
            +
                    table.index("Users.name")
         
     | 
| 
      
 187 
     | 
    
         
            +
                  end
         
     | 
| 
      
 188 
     | 
    
         
            +
                end
         
     | 
| 
      
 189 
     | 
    
         
            +
             
     | 
| 
      
 190 
     | 
    
         
            +
                index = context["Terms.Users_name"]
         
     | 
| 
      
 191 
     | 
    
         
            +
                index.lock
         
     | 
| 
      
 192 
     | 
    
         
            +
                assert do
         
     | 
| 
      
 193 
     | 
    
         
            +
                  index.locked?
         
     | 
| 
      
 194 
     | 
    
         
            +
                end
         
     | 
| 
      
 195 
     | 
    
         
            +
                @database.recover
         
     | 
| 
      
 196 
     | 
    
         
            +
                assert do
         
     | 
| 
      
 197 
     | 
    
         
            +
                  not index.locked?
         
     | 
| 
      
 198 
     | 
    
         
            +
                end
         
     | 
| 
      
 199 
     | 
    
         
            +
              end
         
     | 
| 
      
 200 
     | 
    
         
            +
             
     | 
| 
       174 
201 
     | 
    
         
             
              def test_tables
         
     | 
| 
       175 
202 
     | 
    
         
             
                setup_database
         
     | 
| 
       176 
203 
     | 
    
         
             
                Groonga::Schema.define do |schema|
         
     | 
| 
         @@ -569,7 +569,7 @@ EOC 
     | 
|
| 
       569 
569 
     | 
    
         
             
                  result = @bookmarks.select do |record|
         
     | 
| 
       570 
570 
     | 
    
         
             
                    record.user.pet.name == "morita Bob"
         
     | 
| 
       571 
571 
     | 
    
         
             
                  end
         
     | 
| 
       572 
     | 
    
         
            -
                  assert_equal(["http://groonga.org/", "http://ruby-lang.org/" 
     | 
| 
      
 572 
     | 
    
         
            +
                  assert_equal(["http://groonga.org/", "http://ruby-lang.org/"],
         
     | 
| 
       573 
573 
     | 
    
         
             
                               result.collect {|record| record["uri"]})
         
     | 
| 
       574 
574 
     | 
    
         
             
                end
         
     | 
| 
       575 
575 
     | 
    
         
             
              end
         
     | 
    
        data/test/test-geo-point.rb
    CHANGED
    
    | 
         @@ -1,4 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Copyright (C) 2012  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Copyright (C) 2014  Masafumi Yokoyama <myokoym@gmail.com>
         
     | 
| 
       2 
3 
     | 
    
         
             
            #
         
     | 
| 
       3 
4 
     | 
    
         
             
            # This library is free software; you can redistribute it and/or
         
     | 
| 
       4 
5 
     | 
    
         
             
            # modify it under the terms of the GNU Lesser General Public
         
     | 
| 
         @@ -185,6 +186,20 @@ class GeoPointTest < Test::Unit::TestCase 
     | 
|
| 
       185 
186 
     | 
    
         
             
                      assert_equal(geo_point1, geo_point2)
         
     | 
| 
       186 
187 
     | 
    
         
             
                    end
         
     | 
| 
       187 
188 
     | 
    
         
             
                  end
         
     | 
| 
      
 189 
     | 
    
         
            +
             
     | 
| 
      
 190 
     | 
    
         
            +
                  class StringTest < self
         
     | 
| 
      
 191 
     | 
    
         
            +
                    def test_degree
         
     | 
| 
      
 192 
     | 
    
         
            +
                      geo_point1 = Groonga::WGS84GeoPoint.new(35.6846084, 139.7628746)
         
     | 
| 
      
 193 
     | 
    
         
            +
                      geo_point2 = "35.6846084x139.7628746"
         
     | 
| 
      
 194 
     | 
    
         
            +
                      assert_equal(geo_point1, geo_point2)
         
     | 
| 
      
 195 
     | 
    
         
            +
                    end
         
     | 
| 
      
 196 
     | 
    
         
            +
             
     | 
| 
      
 197 
     | 
    
         
            +
                    def test_msec
         
     | 
| 
      
 198 
     | 
    
         
            +
                      geo_point1 = Groonga::WGS84GeoPoint.new(128464590, 503146349)
         
     | 
| 
      
 199 
     | 
    
         
            +
                      geo_point2 = "128464590x503146349"
         
     | 
| 
      
 200 
     | 
    
         
            +
                      assert_equal(geo_point1, geo_point2)
         
     | 
| 
      
 201 
     | 
    
         
            +
                    end
         
     | 
| 
      
 202 
     | 
    
         
            +
                  end
         
     | 
| 
       188 
203 
     | 
    
         
             
                end
         
     | 
| 
       189 
204 
     | 
    
         
             
              end
         
     | 
| 
       190 
205 
     | 
    
         
             
            end
         
     | 
| 
         @@ -145,7 +145,7 @@ class VariableSizeColumnTest < Test::Unit::TestCase 
     | 
|
| 
       145 
145 
     | 
    
         | 
| 
       146 
146 
     | 
    
         
             
                class StringTest < self
         
     | 
| 
       147 
147 
     | 
    
         
             
                  def test_append
         
     | 
| 
       148 
     | 
    
         
            -
                    omit("append for non table domain column isn't supported by  
     | 
| 
      
 148 
     | 
    
         
            +
                    omit("append for non table domain column isn't supported by Groonga.")
         
     | 
| 
       149 
149 
     | 
    
         
             
                    assert_equal([], @morita["nick_names"])
         
     | 
| 
       150 
150 
     | 
    
         
             
                    @morita.append("nick_names", "morita")
         
     | 
| 
       151 
151 
     | 
    
         
             
                    assert_equal(["morita"], @morita["nick_names"])
         
     | 
| 
         @@ -154,7 +154,7 @@ class VariableSizeColumnTest < Test::Unit::TestCase 
     | 
|
| 
       154 
154 
     | 
    
         
             
                  end
         
     | 
| 
       155 
155 
     | 
    
         | 
| 
       156 
156 
     | 
    
         
             
                  def test_prepend
         
     | 
| 
       157 
     | 
    
         
            -
                    omit("prepend for non table domain column isn't supported by  
     | 
| 
      
 157 
     | 
    
         
            +
                    omit("prepend for non table domain column isn't supported by Groonga.")
         
     | 
| 
       158 
158 
     | 
    
         
             
                    assert_equal([], @morita["nick_names"])
         
     | 
| 
       159 
159 
     | 
    
         
             
                    @morita.prepend("nick_names", "morita")
         
     | 
| 
       160 
160 
     | 
    
         
             
                    assert_equal(["morita"], @morita["nick_names"])
         
     |