rroonga 4.0.6-x86-mingw32 → 4.0.7-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 +4 -4
 - data/README.md +1 -1
 - data/doc/text/news.textile +14 -2
 - data/ext/groonga/extconf.rb +0 -3
 - data/ext/groonga/rb-grn-expression.c +1 -6
 - data/ext/groonga/rb-grn-index-column.c +96 -0
 - data/ext/groonga/rb-grn-index-cursor.c +32 -8
 - data/ext/groonga/rb-grn-posting.c +26 -6
 - data/ext/groonga/rb-grn-utils.c +27 -0
 - data/ext/groonga/rb-grn.h +4 -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/rroonga-build.rb +3 -3
 - data/test/test-column.rb +50 -12
 - data/test/test-expression-builder.rb +1 -1
 - data/test/test-expression.rb +80 -25
 - data/test/test-index-column.rb +41 -0
 - data/test/test-index-cursor.rb +21 -1
 - data/test/test-table-key-support.rb +59 -1
 - 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 +0 -0
 - data/vendor/local/bin/lz4c +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/groonga.conf +1 -1
 - data/vendor/local/etc/groonga/httpd/fastcgi.conf +25 -0
 - data/vendor/local/etc/groonga/httpd/fastcgi.conf.default +25 -0
 - data/vendor/local/etc/groonga/httpd/fastcgi_params +24 -0
 - data/vendor/local/etc/groonga/httpd/fastcgi_params.default +24 -0
 - data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
 - data/vendor/local/etc/groonga/httpd/html/50x.html +21 -0
 - data/vendor/local/etc/groonga/httpd/html/index.html +25 -0
 - data/vendor/local/etc/groonga/httpd/koi-utf +109 -0
 - data/vendor/local/etc/groonga/httpd/koi-win +103 -0
 - data/vendor/local/etc/groonga/httpd/mime.types +89 -0
 - data/vendor/local/etc/groonga/httpd/mime.types.default +89 -0
 - data/vendor/local/etc/groonga/httpd/nginx.conf.default +117 -0
 - data/vendor/local/etc/groonga/httpd/scgi_params +16 -0
 - data/vendor/local/etc/groonga/httpd/scgi_params.default +16 -0
 - data/vendor/local/etc/groonga/httpd/uwsgi_params +16 -0
 - data/vendor/local/etc/groonga/httpd/uwsgi_params.default +16 -0
 - data/vendor/local/etc/groonga/httpd/win-utf +126 -0
 - data/vendor/local/include/groonga/groonga/expr.h +108 -0
 - data/vendor/local/include/groonga/groonga/groonga.h +2031 -0
 - data/vendor/local/include/groonga/groonga/ii.h +46 -0
 - data/vendor/local/include/groonga/groonga/nfkc.h +3 -3
 - data/vendor/local/include/groonga/groonga/plugin.h +5 -3
 - data/vendor/local/include/groonga/groonga/token.h +136 -0
 - data/vendor/local/include/groonga/groonga/token_filter.h +4 -6
 - data/vendor/local/include/groonga/groonga/tokenizer.h +60 -55
 - data/vendor/local/include/groonga/groonga/util.h +40 -0
 - data/vendor/local/include/groonga/groonga.h +5 -2095
 - data/vendor/local/include/lz4.h +323 -0
 - data/vendor/local/include/lz4hc.h +223 -0
 - data/vendor/local/include/zconf.h +511 -0
 - data/vendor/local/include/zlib.h +1768 -0
 - 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/scan_info_builder.rb +22 -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.4.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 +14 -0
 - 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 +13 -0
 - 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/development/release.txt +3 -24
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
 - 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 +3 -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 +7 -19
 - 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 +4 -4
 - 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 +88 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_content_type.txt +39 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/range_filter.txt +28 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +109 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/in_values.txt +30 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/token_filters.txt +111 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +0 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/server/package.txt +54 -50
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +1 -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/search.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/basic.css +67 -5
 - data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +25 -0
 - 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-1.11.1.js +10308 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -9404
 - 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/underscore-1.3.1.js +999 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +31 -1415
 - 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 +19 -17
 - data/vendor/local/share/doc/groonga/en/html/client.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/community.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +40 -58
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +30 -28
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +24 -23
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +27 -25
 - data/vendor/local/share/doc/groonga/en/html/development.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +12 -12
 - data/vendor/local/share/doc/groonga/en/html/index.html +81 -77
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +33 -34
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -25
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +28 -27
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +93 -103
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +28 -27
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +32 -30
 - data/vendor/local/share/doc/groonga/en/html/install.html +33 -31
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +34 -32
 - data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +29 -27
 - data/vendor/local/share/doc/groonga/en/html/news/2.x.html +99 -97
 - data/vendor/local/share/doc/groonga/en/html/news/3.x.html +71 -69
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/news.html +210 -116
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +33 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +45 -43
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +65 -63
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +29 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +174 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +63 -61
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +33 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +30 -28
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +66 -64
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +28 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +31 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +29 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +28 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +28 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +27 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +76 -74
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +31 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +26 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +62 -60
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +51 -49
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +27 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +42 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +39 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +21 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +61 -59
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +55 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +96 -94
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +52 -49
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +40 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +45 -43
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +25 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +41 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +72 -70
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +43 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +39 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +35 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +42 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +25 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +26 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +24 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +61 -59
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +31 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +27 -25
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +166 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +51 -49
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +55 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +55 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +385 -383
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +39 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +42 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +83 -81
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +149 -147
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +51 -49
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +41 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +276 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +103 -101
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +47 -45
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +48 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +22 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +28 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +75 -73
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +44 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +36 -34
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +57 -55
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +26 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +42 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +81 -79
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +32 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +53 -51
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +41 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +35 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +164 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +76 -74
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +42 -40
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +66 -64
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +59 -57
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +210 -208
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +262 -260
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +26 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +22 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +54 -52
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +23 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +34 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +57 -55
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +54 -52
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +323 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +29 -27
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +40 -38
 - data/vendor/local/share/doc/groonga/en/html/reference.html +78 -74
 - 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/gqtp.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +33 -31
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +19 -21
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +92 -85
 - data/vendor/local/share/doc/groonga/en/html/server.html +21 -19
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +127 -125
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/spec.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +33 -31
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +22 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +23 -21
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +52 -50
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +19 -17
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +22 -20
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +35 -33
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +3 -24
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
 - 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 +3 -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 +7 -19
 - 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 +4 -4
 - 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 +88 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_content_type.txt +39 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/range_filter.txt +28 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +109 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/in_values.txt +30 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/token_filters.txt +111 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +0 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/server/package.txt +54 -50
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +1 -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/search.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +67 -5
 - data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +25 -0
 - 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-1.11.1.js +10308 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -9404
 - 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/underscore-1.3.1.js +999 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +31 -1415
 - 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 +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/client.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/community.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +40 -58
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +30 -28
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +24 -23
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +22 -20
 - data/vendor/local/share/doc/groonga/ja/html/development.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +12 -12
 - data/vendor/local/share/doc/groonga/ja/html/index.html +82 -78
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +36 -40
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +27 -27
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +29 -29
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +24 -22
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +84 -90
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +29 -29
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +31 -29
 - data/vendor/local/share/doc/groonga/ja/html/install.html +33 -31
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +21 -19
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +34 -32
 - data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +29 -27
 - data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +93 -91
 - data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +61 -59
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/news.html +233 -147
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +33 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +39 -37
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +59 -57
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +29 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +176 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +61 -59
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +32 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +30 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +53 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +28 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +31 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +29 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +28 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +28 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +27 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +76 -74
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +31 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +26 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +62 -60
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +51 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +27 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +24 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +42 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +39 -37
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +21 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +24 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +51 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +45 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +95 -93
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +52 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +37 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +45 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +25 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +41 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +64 -62
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +40 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +39 -37
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +34 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +24 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +35 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +25 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +26 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +24 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +56 -54
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +31 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +27 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +167 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +47 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +55 -53
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +55 -53
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +256 -254
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +39 -37
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +40 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +80 -78
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +125 -123
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +51 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +41 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +268 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +89 -87
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +47 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +48 -46
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +22 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +28 -26
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +63 -61
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +44 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +36 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +57 -55
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +26 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +42 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +65 -63
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +32 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +43 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +32 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +35 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +165 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +40 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +69 -67
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +42 -40
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +52 -50
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +51 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +115 -113
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +179 -177
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +23 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +22 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +43 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +23 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +30 -28
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +36 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +23 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +21 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +44 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +316 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +23 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +29 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +38 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +79 -75
 - 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/gqtp.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +27 -25
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +19 -21
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +91 -82
 - data/vendor/local/share/doc/groonga/ja/html/server.html +21 -19
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +126 -124
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +32 -30
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +25 -23
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +49 -47
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +19 -17
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +22 -20
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +33 -31
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
 - data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/html/index.html +1 -1
 - data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.js +9404 -0
 - data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.js +11802 -0
 - data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
 - data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
 - data/vendor/local/share/groonga/html/admin/index.html +2 -2
 - data/vendor/local/share/groonga/html/admin/index.ja.html +2 -2
 - data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.js +9404 -0
 - data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.js +11802 -0
 - data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.js +2599 -0
 - data/vendor/local/share/license/lz4/LICENSE +24 -0
 - data/vendor/local/share/license/zlib/README +115 -0
 - data/vendor/local/share/man/ja/man1/groonga.1 +183 -215
 - data/vendor/local/share/man/man1/groonga.1 +188 -227
 - data/vendor/local/share/man/man1/lz4.1 +88 -0
 - data/vendor/local/share/man/man1/lz4c.1 +33 -0
 - data/vendor/local/share/man/man1/lz4cat.1 +32 -0
 - metadata +117 -50
 - data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +0 -4
 - data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +0 -356
 - data/vendor/local/share/groonga/html/admin/js/jquery-1.7.2.min.js +0 -4
 - data/vendor/local/share/groonga/html/admin/js/jquery-ui-1.8.18.custom.min.js +0 -356
 - data/vendor/local/share/groonga/html/admin/js/jquery.flot-0.7.min.js +0 -6
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 01c215baffc5953265a2b3d3daab2218af67c230
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 60a05928d72aac5091ec651971eb6e26a382d5eb
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 6f7e48ce5a680f5c22ea41d903a77851ea769731ee0c66bbcc32b282305db208b12524731b942c1ee44ae8c28a81f38465bd2a32b782dbc8e0a9725985863964
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 7a944d31f0ebd28c4b048be1f2280e01fa8270b84be4f961c920663b6b878af66a2fac746caf5cb201b1fd594c339f55e3013d6216bf2900c51dc30c72b69651
         
     | 
    
        data/README.md
    CHANGED
    
    
    
        data/doc/text/news.textile
    CHANGED
    
    | 
         @@ -1,5 +1,17 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            h1. NEWS
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            h2(#4-0-7). 4.0.7: 2014-12-12
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            h3. Improvements
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Supported Groonga 4.0.8. Groonga 4.0.7 or older aren't supported.
         
     | 
| 
      
 8 
     | 
    
         
            +
            * Added @:reuse_posting_object@ option to
         
     | 
| 
      
 9 
     | 
    
         
            +
              {Groonga::IndexCursor#each}. The option improves performance by
         
     | 
| 
      
 10 
     | 
    
         
            +
              reducing memory allocation. The option is disabled by default because
         
     | 
| 
      
 11 
     | 
    
         
            +
              reusing the same object isn't Rubyish.
         
     | 
| 
      
 12 
     | 
    
         
            +
            * Added {Groonga::IndexCursor#estimate_size}. [GitHub#38]
         
     | 
| 
      
 13 
     | 
    
         
            +
            * Accepted string for integer, unsigned integer and float type key.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
       3 
15 
     | 
    
         
             
            h2(#4-0-6). 4.0.6: 2014-11-06
         
     | 
| 
       4 
16 
     | 
    
         | 
| 
       5 
17 
     | 
    
         
             
            h3. Improvements
         
     | 
| 
         @@ -11,8 +23,8 @@ h3. Improvements 
     | 
|
| 
       11 
23 
     | 
    
         
             
            ** Supported @:lz4@ in {Groonga::VariableSizeColumn#compressed?} options.
         
     | 
| 
       12 
24 
     | 
    
         
             
            ** Added {Groonga::LZ4Error}.
         
     | 
| 
       13 
25 
     | 
    
         
             
            ** [grndump] Supported @COMPRESS_ZLIB@ and @COMPRESS_LZ4@ flags.
         
     | 
| 
       14 
     | 
    
         
            -
            ** Added {Groonga:: 
     | 
| 
       15 
     | 
    
         
            -
            ** Added {Groonga:: 
     | 
| 
      
 26 
     | 
    
         
            +
            ** Added {Groonga::Table::KeySupport#token_filters}.
         
     | 
| 
      
 27 
     | 
    
         
            +
            ** Added {Groonga::Table::KeySupport#token_filters=}.
         
     | 
| 
       16 
28 
     | 
    
         
             
            ** Supported @:token_filters@ in {Groonga::Hash.create} options.
         
     | 
| 
       17 
29 
     | 
    
         
             
            ** Supported @:token_filters@ in {Groonga::PatriciaTrie.create} options.
         
     | 
| 
       18 
30 
     | 
    
         
             
            ** Supported @:token_filters@ in {Groonga::DoubleArrayTrie.create} options.
         
     | 
    
        data/ext/groonga/extconf.rb
    CHANGED
    
    | 
         @@ -283,9 +283,6 @@ have_func("rb_sym2str", "ruby.h") 
     | 
|
| 
       283 
283 
     | 
    
         
             
            have_func("rb_to_symbol", "ruby.h")
         
     | 
| 
       284 
284 
     | 
    
         
             
            have_type("enum ruby_value_type", "ruby.h")
         
     | 
| 
       285 
285 
     | 
    
         | 
| 
       286 
     | 
    
         
            -
            # TODO: Remove me after Groogna 4.0.8 is released.
         
     | 
| 
       287 
     | 
    
         
            -
            have_func("grn_expr_dump_plan", "groonga.h")
         
     | 
| 
       288 
     | 
    
         
            -
             
     | 
| 
       289 
286 
     | 
    
         
             
            checking_for(checking_message("--enable-debug-log option")) do
         
     | 
| 
       290 
287 
     | 
    
         
             
              enable_debug_log = enable_config("debug-log", false)
         
     | 
| 
       291 
288 
     | 
    
         
             
              if enable_debug_log
         
     | 
| 
         @@ -498,13 +498,11 @@ rb_grn_expression_compile (VALUE self) 
     | 
|
| 
       498 
498 
     | 
    
         
             
             * Dump execution plan of the `expression` in string.
         
     | 
| 
       499 
499 
     | 
    
         
             
             *
         
     | 
| 
       500 
500 
     | 
    
         
             
             * @overload dump_plan
         
     | 
| 
       501 
     | 
    
         
            -
             * @since 4.0. 
     | 
| 
      
 501 
     | 
    
         
            +
             * @since 4.0.7
         
     | 
| 
       502 
502 
     | 
    
         
             
             */
         
     | 
| 
       503 
503 
     | 
    
         
             
            static VALUE
         
     | 
| 
       504 
504 
     | 
    
         
             
            rb_grn_expression_dump_plan (VALUE self)
         
     | 
| 
       505 
505 
     | 
    
         
             
            {
         
     | 
| 
       506 
     | 
    
         
            -
            /* TODO: Remove me after Groogna 4.0.8 is released. */
         
     | 
| 
       507 
     | 
    
         
            -
            #ifdef HAVE_GRN_EXPR_DUMP_PLAN
         
     | 
| 
       508 
506 
     | 
    
         
             
                grn_ctx *context = NULL;
         
     | 
| 
       509 
507 
     | 
    
         
             
                grn_obj *expression;
         
     | 
| 
       510 
508 
     | 
    
         
             
                grn_obj dumped_plan;
         
     | 
| 
         @@ -520,9 +518,6 @@ rb_grn_expression_dump_plan (VALUE self) 
     | 
|
| 
       520 
518 
     | 
    
         
             
                grn_obj_unlink(context, &dumped_plan);
         
     | 
| 
       521 
519 
     | 
    
         | 
| 
       522 
520 
     | 
    
         
             
                return rb_dumped_plan;
         
     | 
| 
       523 
     | 
    
         
            -
            #else
         
     | 
| 
       524 
     | 
    
         
            -
                return rb_str_new2("");
         
     | 
| 
       525 
     | 
    
         
            -
            #endif
         
     | 
| 
       526 
521 
     | 
    
         
             
            }
         
     | 
| 
       527 
522 
     | 
    
         | 
| 
       528 
523 
     | 
    
         
             
            /*
         
     | 
| 
         @@ -955,6 +955,99 @@ rb_grn_index_column_open_cursor (int argc, VALUE *argv, VALUE self) 
     | 
|
| 
       955 
955 
     | 
    
         
             
                    return rb_cursor;
         
     | 
| 
       956 
956 
     | 
    
         
             
            }
         
     | 
| 
       957 
957 
     | 
    
         | 
| 
      
 958 
     | 
    
         
            +
            /*
         
     | 
| 
      
 959 
     | 
    
         
            +
             * Estimates the number of documents found by the given token ID.
         
     | 
| 
      
 960 
     | 
    
         
            +
             *
         
     | 
| 
      
 961 
     | 
    
         
            +
             * @example Token ID style
         
     | 
| 
      
 962 
     | 
    
         
            +
             *    # Define schema
         
     | 
| 
      
 963 
     | 
    
         
            +
             *    Groonga::Schema.define do |schema|
         
     | 
| 
      
 964 
     | 
    
         
            +
             *      schema.create_table("Articles") do |table|
         
     | 
| 
      
 965 
     | 
    
         
            +
             *        table.text("content")
         
     | 
| 
      
 966 
     | 
    
         
            +
             *      end
         
     | 
| 
      
 967 
     | 
    
         
            +
             *
         
     | 
| 
      
 968 
     | 
    
         
            +
             *      schema.create_table("Terms",
         
     | 
| 
      
 969 
     | 
    
         
            +
             *                          :type => :hash,
         
     | 
| 
      
 970 
     | 
    
         
            +
             *                          :key_type => "ShortText",
         
     | 
| 
      
 971 
     | 
    
         
            +
             *                          :default_tokenizer => "TokenBigram",
         
     | 
| 
      
 972 
     | 
    
         
            +
             *                          :normalizer => "NormalizerAuto") do |table|
         
     | 
| 
      
 973 
     | 
    
         
            +
             *        table.index("Articles.content",
         
     | 
| 
      
 974 
     | 
    
         
            +
             *                    :name => "articles_content",
         
     | 
| 
      
 975 
     | 
    
         
            +
             *                    :with_position => true,
         
     | 
| 
      
 976 
     | 
    
         
            +
             *                    :with_section => true)
         
     | 
| 
      
 977 
     | 
    
         
            +
             *      end
         
     | 
| 
      
 978 
     | 
    
         
            +
             *    end
         
     | 
| 
      
 979 
     | 
    
         
            +
             *    articles = Groonga["Articles"]
         
     | 
| 
      
 980 
     | 
    
         
            +
             *    terms = Groonga["Terms"]
         
     | 
| 
      
 981 
     | 
    
         
            +
             *    index = Groonga["Terms.articles_content"]
         
     | 
| 
      
 982 
     | 
    
         
            +
             *
         
     | 
| 
      
 983 
     | 
    
         
            +
             *    # Add data
         
     | 
| 
      
 984 
     | 
    
         
            +
             *    articles.add(:content => "Groonga is fast")
         
     | 
| 
      
 985 
     | 
    
         
            +
             *    articles.add(:content => "Rroonga is fast")
         
     | 
| 
      
 986 
     | 
    
         
            +
             *    articles.add(:content => "Mroonga is fast")
         
     | 
| 
      
 987 
     | 
    
         
            +
             *
         
     | 
| 
      
 988 
     | 
    
         
            +
             *    # Estimate the number of documents found by token ID
         
     | 
| 
      
 989 
     | 
    
         
            +
             *    p @index.estimate_size(@terms["fast"].id)    # => 7
         
     | 
| 
      
 990 
     | 
    
         
            +
             *    p @index.estimate_size(@terms["Groonga"].id) # => 1
         
     | 
| 
      
 991 
     | 
    
         
            +
             *
         
     | 
| 
      
 992 
     | 
    
         
            +
             * @example Token record style
         
     | 
| 
      
 993 
     | 
    
         
            +
             *    # Define schema
         
     | 
| 
      
 994 
     | 
    
         
            +
             *    Groonga::Schema.define do |schema|
         
     | 
| 
      
 995 
     | 
    
         
            +
             *      schema.create_table("Articles") do |table|
         
     | 
| 
      
 996 
     | 
    
         
            +
             *        table.text("content")
         
     | 
| 
      
 997 
     | 
    
         
            +
             *      end
         
     | 
| 
      
 998 
     | 
    
         
            +
             *
         
     | 
| 
      
 999 
     | 
    
         
            +
             *      schema.create_table("Terms",
         
     | 
| 
      
 1000 
     | 
    
         
            +
             *                          :type => :hash,
         
     | 
| 
      
 1001 
     | 
    
         
            +
             *                          :key_type => "ShortText",
         
     | 
| 
      
 1002 
     | 
    
         
            +
             *                          :default_tokenizer => "TokenBigram",
         
     | 
| 
      
 1003 
     | 
    
         
            +
             *                          :normalizer => "NormalizerAuto") do |table|
         
     | 
| 
      
 1004 
     | 
    
         
            +
             *        table.index("Articles.content",
         
     | 
| 
      
 1005 
     | 
    
         
            +
             *                    :name => "articles_content",
         
     | 
| 
      
 1006 
     | 
    
         
            +
             *                    :with_position => true,
         
     | 
| 
      
 1007 
     | 
    
         
            +
             *                    :with_section => true)
         
     | 
| 
      
 1008 
     | 
    
         
            +
             *      end
         
     | 
| 
      
 1009 
     | 
    
         
            +
             *    end
         
     | 
| 
      
 1010 
     | 
    
         
            +
             *    articles = Groonga["Articles"]
         
     | 
| 
      
 1011 
     | 
    
         
            +
             *    terms = Groonga["Terms"]
         
     | 
| 
      
 1012 
     | 
    
         
            +
             *    index = Groonga["Terms.articles_content"]
         
     | 
| 
      
 1013 
     | 
    
         
            +
             *
         
     | 
| 
      
 1014 
     | 
    
         
            +
             *    # Add data
         
     | 
| 
      
 1015 
     | 
    
         
            +
             *    articles.add(:content => "Groonga is fast")
         
     | 
| 
      
 1016 
     | 
    
         
            +
             *    articles.add(:content => "Rroonga is fast")
         
     | 
| 
      
 1017 
     | 
    
         
            +
             *    articles.add(:content => "Mroonga is fast")
         
     | 
| 
      
 1018 
     | 
    
         
            +
             *
         
     | 
| 
      
 1019 
     | 
    
         
            +
             *    # Estimate the number of documents found by token record
         
     | 
| 
      
 1020 
     | 
    
         
            +
             *    p @index.estimate_size(@terms["fast"])    # => 7
         
     | 
| 
      
 1021 
     | 
    
         
            +
             *    p @index.estimate_size(@terms["Groonga"]) # => 1
         
     | 
| 
      
 1022 
     | 
    
         
            +
             *
         
     | 
| 
      
 1023 
     | 
    
         
            +
             * @overload estimate_size(token_id)
         
     | 
| 
      
 1024 
     | 
    
         
            +
             *   @param [Integer, Record] token_id The token ID to be estimated.
         
     | 
| 
      
 1025 
     | 
    
         
            +
             *   @return [Integer] The estimated number of documents found by the
         
     | 
| 
      
 1026 
     | 
    
         
            +
             *     given token ID.
         
     | 
| 
      
 1027 
     | 
    
         
            +
             *
         
     | 
| 
      
 1028 
     | 
    
         
            +
             * @since 4.0.7
         
     | 
| 
      
 1029 
     | 
    
         
            +
             */
         
     | 
| 
      
 1030 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 1031 
     | 
    
         
            +
            rb_grn_index_column_estimate_size (VALUE self, VALUE rb_token_id)
         
     | 
| 
      
 1032 
     | 
    
         
            +
            {
         
     | 
| 
      
 1033 
     | 
    
         
            +
                grn_ctx *context;
         
     | 
| 
      
 1034 
     | 
    
         
            +
                grn_obj *column;
         
     | 
| 
      
 1035 
     | 
    
         
            +
                grn_obj *domain_object;
         
     | 
| 
      
 1036 
     | 
    
         
            +
                grn_id token_id;
         
     | 
| 
      
 1037 
     | 
    
         
            +
                unsigned int size;
         
     | 
| 
      
 1038 
     | 
    
         
            +
             
     | 
| 
      
 1039 
     | 
    
         
            +
                rb_grn_index_column_deconstruct(SELF(self), &column, &context,
         
     | 
| 
      
 1040 
     | 
    
         
            +
                                                NULL, &domain_object,
         
     | 
| 
      
 1041 
     | 
    
         
            +
                                                NULL, NULL, NULL,
         
     | 
| 
      
 1042 
     | 
    
         
            +
                                                NULL, NULL,
         
     | 
| 
      
 1043 
     | 
    
         
            +
                                                NULL, NULL);
         
     | 
| 
      
 1044 
     | 
    
         
            +
             
     | 
| 
      
 1045 
     | 
    
         
            +
                token_id = RVAL2GRNID(rb_token_id, context, domain_object, self);
         
     | 
| 
      
 1046 
     | 
    
         
            +
                size = grn_ii_estimate_size(context, (grn_ii *)column, token_id);
         
     | 
| 
      
 1047 
     | 
    
         
            +
             
     | 
| 
      
 1048 
     | 
    
         
            +
                return UINT2NUM(size);
         
     | 
| 
      
 1049 
     | 
    
         
            +
            }
         
     | 
| 
      
 1050 
     | 
    
         
            +
             
     | 
| 
       958 
1051 
     | 
    
         
             
            void
         
     | 
| 
       959 
1052 
     | 
    
         
             
            rb_grn_init_index_column (VALUE mGrn)
         
     | 
| 
       960 
1053 
     | 
    
         
             
            {
         
     | 
| 
         @@ -990,4 +1083,7 @@ rb_grn_init_index_column (VALUE mGrn) 
     | 
|
| 
       990 
1083 
     | 
    
         | 
| 
       991 
1084 
     | 
    
         
             
                rb_define_method(rb_cGrnIndexColumn, "open_cursor",
         
     | 
| 
       992 
1085 
     | 
    
         
             
                                 rb_grn_index_column_open_cursor, -1);
         
     | 
| 
      
 1086 
     | 
    
         
            +
             
     | 
| 
      
 1087 
     | 
    
         
            +
                rb_define_method(rb_cGrnIndexColumn, "estimate_size",
         
     | 
| 
      
 1088 
     | 
    
         
            +
                                 rb_grn_index_column_estimate_size, 1);
         
     | 
| 
       993 
1089 
     | 
    
         
             
            }
         
     | 
| 
         @@ -57,7 +57,8 @@ rb_grn_index_cursor_deconstruct (RbGrnIndexCursor *rb_grn_index_cursor, 
     | 
|
| 
       57 
57 
     | 
    
         
             
            }
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
59 
     | 
    
         
             
            static VALUE
         
     | 
| 
       60 
     | 
    
         
            -
            next_value ( 
     | 
| 
      
 60 
     | 
    
         
            +
            next_value (VALUE rb_posting,
         
     | 
| 
      
 61 
     | 
    
         
            +
                        grn_ctx *context, grn_obj *cursor, VALUE rb_table, VALUE rb_lexicon)
         
     | 
| 
       61 
62 
     | 
    
         
             
            {
         
     | 
| 
       62 
63 
     | 
    
         
             
                grn_posting *posting;
         
     | 
| 
       63 
64 
     | 
    
         
             
                grn_id term_id;
         
     | 
| 
         @@ -67,7 +68,12 @@ next_value (grn_ctx *context, grn_obj *cursor, VALUE rb_table, VALUE rb_lexicon) 
     | 
|
| 
       67 
68 
     | 
    
         
             
                    return Qnil;
         
     | 
| 
       68 
69 
     | 
    
         
             
                }
         
     | 
| 
       69 
70 
     | 
    
         | 
| 
       70 
     | 
    
         
            -
                 
     | 
| 
      
 71 
     | 
    
         
            +
                if (NIL_P(rb_posting)) {
         
     | 
| 
      
 72 
     | 
    
         
            +
                    return rb_grn_posting_new(posting, term_id, rb_table, rb_lexicon);
         
     | 
| 
      
 73 
     | 
    
         
            +
                } else {
         
     | 
| 
      
 74 
     | 
    
         
            +
                    rb_grn_posting_update(rb_posting, posting, term_id);
         
     | 
| 
      
 75 
     | 
    
         
            +
                    return rb_posting;
         
     | 
| 
      
 76 
     | 
    
         
            +
                }
         
     | 
| 
       71 
77 
     | 
    
         
             
            }
         
     | 
| 
       72 
78 
     | 
    
         | 
| 
       73 
79 
     | 
    
         
             
            static VALUE
         
     | 
| 
         @@ -84,7 +90,7 @@ rb_grn_index_cursor_next (VALUE self) 
     | 
|
| 
       84 
90 
     | 
    
         
             
                    VALUE rb_lexicon;
         
     | 
| 
       85 
91 
     | 
    
         
             
                    rb_table = rb_iv_get(self, "@table");
         
     | 
| 
       86 
92 
     | 
    
         
             
                    rb_lexicon = rb_iv_get(self, "@lexicon");
         
     | 
| 
       87 
     | 
    
         
            -
                    rb_posting = next_value(context, cursor, rb_table, rb_lexicon);
         
     | 
| 
      
 93 
     | 
    
         
            +
                    rb_posting = next_value(Qnil, context, cursor, rb_table, rb_lexicon);
         
     | 
| 
       88 
94 
     | 
    
         
             
                }
         
     | 
| 
       89 
95 
     | 
    
         | 
| 
       90 
96 
     | 
    
         
             
                return rb_posting;
         
     | 
| 
         @@ -92,14 +98,24 @@ rb_grn_index_cursor_next (VALUE self) 
     | 
|
| 
       92 
98 
     | 
    
         
             
            }
         
     | 
| 
       93 
99 
     | 
    
         | 
| 
       94 
100 
     | 
    
         
             
            static VALUE
         
     | 
| 
       95 
     | 
    
         
            -
            rb_grn_index_cursor_each (VALUE self)
         
     | 
| 
      
 101 
     | 
    
         
            +
            rb_grn_index_cursor_each (int argc, VALUE *argv, VALUE self)
         
     | 
| 
       96 
102 
     | 
    
         
             
            {
         
     | 
| 
       97 
103 
     | 
    
         
             
                grn_obj *cursor;
         
     | 
| 
       98 
104 
     | 
    
         
             
                grn_ctx *context;
         
     | 
| 
      
 105 
     | 
    
         
            +
                grn_bool reuse_posting_object;
         
     | 
| 
      
 106 
     | 
    
         
            +
                VALUE rb_options;
         
     | 
| 
      
 107 
     | 
    
         
            +
                VALUE rb_reuse_posting_object;
         
     | 
| 
       99 
108 
     | 
    
         
             
                VALUE rb_table;
         
     | 
| 
       100 
109 
     | 
    
         
             
                VALUE rb_lexicon;
         
     | 
| 
      
 110 
     | 
    
         
            +
                VALUE rb_posting = Qnil;
         
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
                RETURN_ENUMERATOR(self, argc, argv);
         
     | 
| 
      
 113 
     | 
    
         
            +
             
     | 
| 
      
 114 
     | 
    
         
            +
                rb_scan_args(argc, argv, "01", &rb_options);
         
     | 
| 
       101 
115 
     | 
    
         | 
| 
       102 
     | 
    
         
            -
                 
     | 
| 
      
 116 
     | 
    
         
            +
                rb_grn_scan_options(rb_options,
         
     | 
| 
      
 117 
     | 
    
         
            +
                                    "reuse_posting_object", &rb_reuse_posting_object,
         
     | 
| 
      
 118 
     | 
    
         
            +
                                    NULL);
         
     | 
| 
       103 
119 
     | 
    
         | 
| 
       104 
120 
     | 
    
         
             
                rb_grn_index_cursor_deconstruct(SELF(self), &cursor, &context,
         
     | 
| 
       105 
121 
     | 
    
         
             
                                                NULL, NULL, NULL, NULL);
         
     | 
| 
         @@ -114,9 +130,17 @@ rb_grn_index_cursor_each (VALUE self) 
     | 
|
| 
       114 
130 
     | 
    
         | 
| 
       115 
131 
     | 
    
         
             
                rb_table = rb_iv_get(self, "@table");
         
     | 
| 
       116 
132 
     | 
    
         
             
                rb_lexicon = rb_iv_get(self, "@lexicon");
         
     | 
| 
      
 133 
     | 
    
         
            +
                reuse_posting_object = RVAL2CBOOL(rb_reuse_posting_object);
         
     | 
| 
      
 134 
     | 
    
         
            +
             
     | 
| 
      
 135 
     | 
    
         
            +
                if (reuse_posting_object) {
         
     | 
| 
      
 136 
     | 
    
         
            +
                    rb_posting = rb_grn_posting_new(NULL, GRN_ID_NIL, rb_table, rb_lexicon);
         
     | 
| 
      
 137 
     | 
    
         
            +
                }
         
     | 
| 
       117 
138 
     | 
    
         
             
                while (GRN_TRUE) {
         
     | 
| 
       118 
     | 
    
         
            -
                     
     | 
| 
       119 
     | 
    
         
            -
             
     | 
| 
      
 139 
     | 
    
         
            +
                    if (!reuse_posting_object) {
         
     | 
| 
      
 140 
     | 
    
         
            +
                        rb_posting = Qnil;
         
     | 
| 
      
 141 
     | 
    
         
            +
                    }
         
     | 
| 
      
 142 
     | 
    
         
            +
                    rb_posting = next_value(rb_posting,
         
     | 
| 
      
 143 
     | 
    
         
            +
                                            context, cursor, rb_table, rb_lexicon);
         
     | 
| 
       120 
144 
     | 
    
         
             
                    if (NIL_P(rb_posting)) {
         
     | 
| 
       121 
145 
     | 
    
         
             
                        break;
         
     | 
| 
       122 
146 
     | 
    
         
             
                    }
         
     | 
| 
         @@ -135,5 +159,5 @@ rb_grn_init_index_cursor (VALUE mGrn) 
     | 
|
| 
       135 
159 
     | 
    
         
             
                rb_include_module(rb_cGrnIndexCursor, rb_mEnumerable);
         
     | 
| 
       136 
160 
     | 
    
         | 
| 
       137 
161 
     | 
    
         
             
                rb_define_method(rb_cGrnIndexCursor, "next", rb_grn_index_cursor_next, 0);
         
     | 
| 
       138 
     | 
    
         
            -
                rb_define_method(rb_cGrnIndexCursor, "each", rb_grn_index_cursor_each,  
     | 
| 
      
 162 
     | 
    
         
            +
                rb_define_method(rb_cGrnIndexCursor, "each", rb_grn_index_cursor_each, -1);
         
     | 
| 
       139 
163 
     | 
    
         
             
            }
         
     | 
| 
         @@ -32,13 +32,15 @@ rb_grn_posting_new (grn_posting *posting, grn_id term_id, 
     | 
|
| 
       32 
32 
     | 
    
         
             
            #define SET_PARAMETER(key, value) \
         
     | 
| 
       33 
33 
     | 
    
         
             
                rb_hash_aset(parameters, RB_GRN_INTERN(key), INT2NUM((value)))
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
     | 
    
         
            -
                 
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
      
 35 
     | 
    
         
            +
                if (posting) {
         
     | 
| 
      
 36 
     | 
    
         
            +
                    SET_PARAMETER("record_id", posting->rid);
         
     | 
| 
      
 37 
     | 
    
         
            +
                    SET_PARAMETER("section_id", posting->sid);
         
     | 
| 
      
 38 
     | 
    
         
            +
                    SET_PARAMETER("position", posting->pos);
         
     | 
| 
      
 39 
     | 
    
         
            +
                    SET_PARAMETER("term_frequency", posting->tf);
         
     | 
| 
      
 40 
     | 
    
         
            +
                    SET_PARAMETER("weight", posting->weight);
         
     | 
| 
      
 41 
     | 
    
         
            +
                    SET_PARAMETER("n_rest_postings", posting->rest);
         
     | 
| 
      
 42 
     | 
    
         
            +
                }
         
     | 
| 
       37 
43 
     | 
    
         
             
                SET_PARAMETER("term_id", term_id);
         
     | 
| 
       38 
     | 
    
         
            -
                SET_PARAMETER("position", posting->pos);
         
     | 
| 
       39 
     | 
    
         
            -
                SET_PARAMETER("term_frequency", posting->tf);
         
     | 
| 
       40 
     | 
    
         
            -
                SET_PARAMETER("weight", posting->weight);
         
     | 
| 
       41 
     | 
    
         
            -
                SET_PARAMETER("n_rest_postings", posting->rest);
         
     | 
| 
       42 
44 
     | 
    
         | 
| 
       43 
45 
     | 
    
         
             
            #undef SET_PARAMETER
         
     | 
| 
       44 
46 
     | 
    
         | 
| 
         @@ -49,6 +51,24 @@ rb_grn_posting_new (grn_posting *posting, grn_id term_id, 
     | 
|
| 
       49 
51 
     | 
    
         
             
                                  parameters);
         
     | 
| 
       50 
52 
     | 
    
         
             
            }
         
     | 
| 
       51 
53 
     | 
    
         | 
| 
      
 54 
     | 
    
         
            +
            void
         
     | 
| 
      
 55 
     | 
    
         
            +
            rb_grn_posting_update (VALUE self, grn_posting *posting, grn_id term_id)
         
     | 
| 
      
 56 
     | 
    
         
            +
            {
         
     | 
| 
      
 57 
     | 
    
         
            +
            #define SET_PARAMETER(key, value) \
         
     | 
| 
      
 58 
     | 
    
         
            +
                rb_funcall(self, rb_intern(key "="), 1, INT2NUM(value));
         
     | 
| 
      
 59 
     | 
    
         
            +
             
     | 
| 
      
 60 
     | 
    
         
            +
                SET_PARAMETER("record_id",       posting->rid);
         
     | 
| 
      
 61 
     | 
    
         
            +
                SET_PARAMETER("section_id",      posting->sid);
         
     | 
| 
      
 62 
     | 
    
         
            +
                SET_PARAMETER("position",        posting->pos);
         
     | 
| 
      
 63 
     | 
    
         
            +
                SET_PARAMETER("term_frequency",  posting->tf);
         
     | 
| 
      
 64 
     | 
    
         
            +
                SET_PARAMETER("weight",          posting->weight);
         
     | 
| 
      
 65 
     | 
    
         
            +
                SET_PARAMETER("n_rest_postings", posting->rest);
         
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
      
 67 
     | 
    
         
            +
                SET_PARAMETER("term_id",         term_id);
         
     | 
| 
      
 68 
     | 
    
         
            +
             
     | 
| 
      
 69 
     | 
    
         
            +
            #undef SET_PARAMETER
         
     | 
| 
      
 70 
     | 
    
         
            +
            }
         
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
       52 
72 
     | 
    
         
             
            void
         
     | 
| 
       53 
73 
     | 
    
         
             
            rb_grn_init_posting (VALUE mGrn)
         
     | 
| 
       54 
74 
     | 
    
         
             
            {
         
     | 
    
        data/ext/groonga/rb-grn-utils.c
    CHANGED
    
    | 
         @@ -481,46 +481,73 @@ rb_grn_bulk_from_ruby_object_with_type (VALUE object, grn_ctx *context, 
     | 
|
| 
       481 
481 
     | 
    
         | 
| 
       482 
482 
     | 
    
         
             
                switch (type_id) {
         
     | 
| 
       483 
483 
     | 
    
         
             
                case GRN_DB_INT8:
         
     | 
| 
      
 484 
     | 
    
         
            +
                    if (string_p) {
         
     | 
| 
      
 485 
     | 
    
         
            +
                        object = rb_Integer(object);
         
     | 
| 
      
 486 
     | 
    
         
            +
                    }
         
     | 
| 
       484 
487 
     | 
    
         
             
                    value.int8_value = NUM2SHORT(object);
         
     | 
| 
       485 
488 
     | 
    
         
             
                    string = (const char *)&(value.int8_value);
         
     | 
| 
       486 
489 
     | 
    
         
             
                    size = sizeof(value.int8_value);
         
     | 
| 
       487 
490 
     | 
    
         
             
                    break;
         
     | 
| 
       488 
491 
     | 
    
         
             
                case GRN_DB_UINT8:
         
     | 
| 
      
 492 
     | 
    
         
            +
                    if (string_p) {
         
     | 
| 
      
 493 
     | 
    
         
            +
                        object = rb_Integer(object);
         
     | 
| 
      
 494 
     | 
    
         
            +
                    }
         
     | 
| 
       489 
495 
     | 
    
         
             
                    value.uint8_value = NUM2USHORT(object);
         
     | 
| 
       490 
496 
     | 
    
         
             
                    string = (const char *)&(value.uint8_value);
         
     | 
| 
       491 
497 
     | 
    
         
             
                    size = sizeof(value.uint8_value);
         
     | 
| 
       492 
498 
     | 
    
         
             
                    break;
         
     | 
| 
       493 
499 
     | 
    
         
             
                case GRN_DB_INT16:
         
     | 
| 
      
 500 
     | 
    
         
            +
                    if (string_p) {
         
     | 
| 
      
 501 
     | 
    
         
            +
                        object = rb_Integer(object);
         
     | 
| 
      
 502 
     | 
    
         
            +
                    }
         
     | 
| 
       494 
503 
     | 
    
         
             
                    value.int16_value = NUM2SHORT(object);
         
     | 
| 
       495 
504 
     | 
    
         
             
                    string = (const char *)&(value.int16_value);
         
     | 
| 
       496 
505 
     | 
    
         
             
                    size = sizeof(value.int16_value);
         
     | 
| 
       497 
506 
     | 
    
         
             
                    break;
         
     | 
| 
       498 
507 
     | 
    
         
             
                case GRN_DB_UINT16:
         
     | 
| 
      
 508 
     | 
    
         
            +
                    if (string_p) {
         
     | 
| 
      
 509 
     | 
    
         
            +
                        object = rb_Integer(object);
         
     | 
| 
      
 510 
     | 
    
         
            +
                    }
         
     | 
| 
       499 
511 
     | 
    
         
             
                    value.uint16_value = NUM2USHORT(object);
         
     | 
| 
       500 
512 
     | 
    
         
             
                    string = (const char *)&(value.uint16_value);
         
     | 
| 
       501 
513 
     | 
    
         
             
                    size = sizeof(value.uint16_value);
         
     | 
| 
       502 
514 
     | 
    
         
             
                    break;
         
     | 
| 
       503 
515 
     | 
    
         
             
                case GRN_DB_INT32:
         
     | 
| 
      
 516 
     | 
    
         
            +
                    if (string_p) {
         
     | 
| 
      
 517 
     | 
    
         
            +
                        object = rb_Integer(object);
         
     | 
| 
      
 518 
     | 
    
         
            +
                    }
         
     | 
| 
       504 
519 
     | 
    
         
             
                    value.int32_value = NUM2INT(object);
         
     | 
| 
       505 
520 
     | 
    
         
             
                    string = (const char *)&(value.int32_value);
         
     | 
| 
       506 
521 
     | 
    
         
             
                    size = sizeof(value.int32_value);
         
     | 
| 
       507 
522 
     | 
    
         
             
                    break;
         
     | 
| 
       508 
523 
     | 
    
         
             
                case GRN_DB_UINT32:
         
     | 
| 
      
 524 
     | 
    
         
            +
                    if (string_p) {
         
     | 
| 
      
 525 
     | 
    
         
            +
                        object = rb_Integer(object);
         
     | 
| 
      
 526 
     | 
    
         
            +
                    }
         
     | 
| 
       509 
527 
     | 
    
         
             
                    value.uint32_value = NUM2UINT(object);
         
     | 
| 
       510 
528 
     | 
    
         
             
                    string = (const char *)&(value.uint32_value);
         
     | 
| 
       511 
529 
     | 
    
         
             
                    size = sizeof(value.uint32_value);
         
     | 
| 
       512 
530 
     | 
    
         
             
                    break;
         
     | 
| 
       513 
531 
     | 
    
         
             
                case GRN_DB_INT64:
         
     | 
| 
      
 532 
     | 
    
         
            +
                    if (string_p) {
         
     | 
| 
      
 533 
     | 
    
         
            +
                        object = rb_Integer(object);
         
     | 
| 
      
 534 
     | 
    
         
            +
                    }
         
     | 
| 
       514 
535 
     | 
    
         
             
                    value.int64_value = NUM2LL(object);
         
     | 
| 
       515 
536 
     | 
    
         
             
                    string = (const char *)&(value.int64_value);
         
     | 
| 
       516 
537 
     | 
    
         
             
                    size = sizeof(value.int64_value);
         
     | 
| 
       517 
538 
     | 
    
         
             
                    break;
         
     | 
| 
       518 
539 
     | 
    
         
             
                case GRN_DB_UINT64:
         
     | 
| 
      
 540 
     | 
    
         
            +
                    if (string_p) {
         
     | 
| 
      
 541 
     | 
    
         
            +
                        object = rb_Integer(object);
         
     | 
| 
      
 542 
     | 
    
         
            +
                    }
         
     | 
| 
       519 
543 
     | 
    
         
             
                    value.uint64_value = NUM2ULL(object);
         
     | 
| 
       520 
544 
     | 
    
         
             
                    string = (const char *)&(value.uint64_value);
         
     | 
| 
       521 
545 
     | 
    
         
             
                    size = sizeof(value.uint64_value);
         
     | 
| 
       522 
546 
     | 
    
         
             
                    break;
         
     | 
| 
       523 
547 
     | 
    
         
             
                case GRN_DB_FLOAT:
         
     | 
| 
      
 548 
     | 
    
         
            +
                    if (string_p) {
         
     | 
| 
      
 549 
     | 
    
         
            +
                        object = rb_Float(object);
         
     | 
| 
      
 550 
     | 
    
         
            +
                    }
         
     | 
| 
       524 
551 
     | 
    
         
             
                    value.double_value = NUM2DBL(object);
         
     | 
| 
       525 
552 
     | 
    
         
             
                    string = (const char *)&(value.double_value);
         
     | 
| 
       526 
553 
     | 
    
         
             
                    size = sizeof(value.double_value);
         
     | 
    
        data/ext/groonga/rb-grn.h
    CHANGED
    
    | 
         @@ -92,7 +92,7 @@ RB_GRN_BEGIN_DECLS 
     | 
|
| 
       92 
92 
     | 
    
         | 
| 
       93 
93 
     | 
    
         
             
            #define RB_GRN_MAJOR_VERSION 4
         
     | 
| 
       94 
94 
     | 
    
         
             
            #define RB_GRN_MINOR_VERSION 0
         
     | 
| 
       95 
     | 
    
         
            -
            #define RB_GRN_MICRO_VERSION  
     | 
| 
      
 95 
     | 
    
         
            +
            #define RB_GRN_MICRO_VERSION 7
         
     | 
| 
       96 
96 
     | 
    
         | 
| 
       97 
97 
     | 
    
         
             
            #define RB_GRN_QUERY_DEFAULT_MAX_EXPRESSIONS 32
         
     | 
| 
       98 
98 
     | 
    
         | 
| 
         @@ -568,6 +568,9 @@ VALUE          rb_grn_posting_new                   (grn_posting *posting, 
     | 
|
| 
       568 
568 
     | 
    
         
             
                                                                 grn_id term_id,
         
     | 
| 
       569 
569 
     | 
    
         
             
                                                                 VALUE rb_table,
         
     | 
| 
       570 
570 
     | 
    
         
             
                                                                 VALUE rb_lexicon);
         
     | 
| 
      
 571 
     | 
    
         
            +
            void           rb_grn_posting_update                (VALUE rb_posting,
         
     | 
| 
      
 572 
     | 
    
         
            +
                                                                 grn_posting *posting,
         
     | 
| 
      
 573 
     | 
    
         
            +
                                                                 grn_id term_id);
         
     | 
| 
       571 
574 
     | 
    
         | 
| 
       572 
575 
     | 
    
         
             
            VALUE          rb_grn_tokyo_geo_point_new           (int   latitude,
         
     | 
| 
       573 
576 
     | 
    
         
             
                                                                 int   longitude);
         
     | 
    
        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/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 = 8
         
     | 
| 
       23 
23 
     | 
    
         
             
                VERSION = [MAJOR, MINOR, MICRO]
         
     | 
| 
       24 
     | 
    
         
            -
                RELEASED_DATE = Time.utc(2014,  
     | 
| 
      
 24 
     | 
    
         
            +
                RELEASED_DATE = Time.utc(2014, 11, 29)
         
     | 
| 
       25 
25 
     | 
    
         
             
              end
         
     | 
| 
       26 
26 
     | 
    
         | 
| 
       27 
27 
     | 
    
         
             
              module LatestGroongaVersion
         
     | 
| 
       28 
28 
     | 
    
         
             
                MAJOR = 4
         
     | 
| 
       29 
29 
     | 
    
         
             
                MINOR = 0
         
     | 
| 
       30 
     | 
    
         
            -
                MICRO =  
     | 
| 
      
 30 
     | 
    
         
            +
                MICRO = 8
         
     | 
| 
       31 
31 
     | 
    
         
             
                VERSION = [MAJOR, MINOR, MICRO]
         
     | 
| 
       32 
32 
     | 
    
         
             
              end
         
     | 
| 
       33 
33 
     | 
    
         | 
    
        data/test/test-column.rb
    CHANGED
    
    | 
         @@ -169,9 +169,18 @@ class ColumnTest < Test::Unit::TestCase 
     | 
|
| 
       169 
169 
     | 
    
         
             
                             result.records.collect do |record|
         
     | 
| 
       170 
170 
     | 
    
         
             
                               record["body"]
         
     | 
| 
       171 
171 
     | 
    
         
             
                             end)
         
     | 
| 
       172 
     | 
    
         
            -
                assert_equal( 
     | 
| 
       173 
     | 
    
         
            -
             
     | 
| 
       174 
     | 
    
         
            -
             
     | 
| 
      
 172 
     | 
    
         
            +
                assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
         
     | 
| 
      
 173 
     | 
    
         
            +
            #<Groonga::Expression #<expr
         
     | 
| 
      
 174 
     | 
    
         
            +
              vars:{
         
     | 
| 
      
 175 
     | 
    
         
            +
                $1:#<record:hash:Posts id:0(nonexistent)>
         
     | 
| 
      
 176 
     | 
    
         
            +
              },
         
     | 
| 
      
 177 
     | 
    
         
            +
              codes:{
         
     | 
| 
      
 178 
     | 
    
         
            +
                0:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
         
     | 
| 
      
 179 
     | 
    
         
            +
                1:<push(), modify:0, value:"drive">,
         
     | 
| 
      
 180 
     | 
    
         
            +
                2:<match(), modify:0, value:(NULL)>
         
     | 
| 
      
 181 
     | 
    
         
            +
              }
         
     | 
| 
      
 182 
     | 
    
         
            +
            >>
         
     | 
| 
      
 183 
     | 
    
         
            +
                INSPECTED
         
     | 
| 
       175 
184 
     | 
    
         
             
              end
         
     | 
| 
       176 
185 
     | 
    
         | 
| 
       177 
186 
     | 
    
         
             
              def test_select_query_from_ctx
         
     | 
| 
         @@ -200,9 +209,18 @@ class ColumnTest < Test::Unit::TestCase 
     | 
|
| 
       200 
209 
     | 
    
         
             
                             result.records.collect do |record|
         
     | 
| 
       201 
210 
     | 
    
         
             
                               record["body"]
         
     | 
| 
       202 
211 
     | 
    
         
             
                             end)
         
     | 
| 
       203 
     | 
    
         
            -
                assert_equal( 
     | 
| 
       204 
     | 
    
         
            -
             
     | 
| 
       205 
     | 
    
         
            -
             
     | 
| 
      
 212 
     | 
    
         
            +
                assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
         
     | 
| 
      
 213 
     | 
    
         
            +
            #<Groonga::Expression #<expr
         
     | 
| 
      
 214 
     | 
    
         
            +
              vars:{
         
     | 
| 
      
 215 
     | 
    
         
            +
                $1:#<record:hash:Posts id:0(nonexistent)>
         
     | 
| 
      
 216 
     | 
    
         
            +
              },
         
     | 
| 
      
 217 
     | 
    
         
            +
              codes:{
         
     | 
| 
      
 218 
     | 
    
         
            +
                0:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
         
     | 
| 
      
 219 
     | 
    
         
            +
                1:<push(), modify:0, value:"drive">,
         
     | 
| 
      
 220 
     | 
    
         
            +
                2:<match(), modify:0, value:(NULL)>
         
     | 
| 
      
 221 
     | 
    
         
            +
              }
         
     | 
| 
      
 222 
     | 
    
         
            +
            >>
         
     | 
| 
      
 223 
     | 
    
         
            +
                INSPECTED
         
     | 
| 
       206 
224 
     | 
    
         
             
              end
         
     | 
| 
       207 
225 
     | 
    
         | 
| 
       208 
226 
     | 
    
         
             
              def test_select_expression
         
     | 
| 
         @@ -218,9 +236,19 @@ class ColumnTest < Test::Unit::TestCase 
     | 
|
| 
       218 
236 
     | 
    
         
             
                             result.records.collect do |record|
         
     | 
| 
       219 
237 
     | 
    
         
             
                               record["body"]
         
     | 
| 
       220 
238 
     | 
    
         
             
                             end)
         
     | 
| 
       221 
     | 
    
         
            -
                assert_equal( 
     | 
| 
       222 
     | 
    
         
            -
             
     | 
| 
       223 
     | 
    
         
            -
             
     | 
| 
      
 239 
     | 
    
         
            +
                assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
         
     | 
| 
      
 240 
     | 
    
         
            +
            #<Groonga::Expression #<expr
         
     | 
| 
      
 241 
     | 
    
         
            +
              vars:{
         
     | 
| 
      
 242 
     | 
    
         
            +
                $1:#<record:hash:Posts id:0(nonexistent)>
         
     | 
| 
      
 243 
     | 
    
         
            +
              },
         
     | 
| 
      
 244 
     | 
    
         
            +
              codes:{
         
     | 
| 
      
 245 
     | 
    
         
            +
                0:<push(), modify:0, value:#<record:hash:Posts id:0(nonexistent)>>,
         
     | 
| 
      
 246 
     | 
    
         
            +
                1:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
         
     | 
| 
      
 247 
     | 
    
         
            +
                2:<push(), modify:0, value:"drive">,
         
     | 
| 
      
 248 
     | 
    
         
            +
                3:<match(), modify:0, value:(NULL)>
         
     | 
| 
      
 249 
     | 
    
         
            +
              }
         
     | 
| 
      
 250 
     | 
    
         
            +
            >>
         
     | 
| 
      
 251 
     | 
    
         
            +
                INSPECTED
         
     | 
| 
       224 
252 
     | 
    
         
             
              end
         
     | 
| 
       225 
253 
     | 
    
         | 
| 
       226 
254 
     | 
    
         
             
              def test_select_with_block
         
     | 
| 
         @@ -233,9 +261,19 @@ class ColumnTest < Test::Unit::TestCase 
     | 
|
| 
       233 
261 
     | 
    
         
             
                             result.records.collect do |record|
         
     | 
| 
       234 
262 
     | 
    
         
             
                               record["body"]
         
     | 
| 
       235 
263 
     | 
    
         
             
                             end)
         
     | 
| 
       236 
     | 
    
         
            -
                assert_equal( 
     | 
| 
       237 
     | 
    
         
            -
             
     | 
| 
       238 
     | 
    
         
            -
             
     | 
| 
      
 264 
     | 
    
         
            +
                assert_equal(<<-INSPECTED.chomp, result.expression.inspect)
         
     | 
| 
      
 265 
     | 
    
         
            +
            #<Groonga::Expression #<expr
         
     | 
| 
      
 266 
     | 
    
         
            +
              vars:{
         
     | 
| 
      
 267 
     | 
    
         
            +
                $1:#<record:hash:Posts id:0(nonexistent)>
         
     | 
| 
      
 268 
     | 
    
         
            +
              },
         
     | 
| 
      
 269 
     | 
    
         
            +
              codes:{
         
     | 
| 
      
 270 
     | 
    
         
            +
                0:<push(), modify:1, value:#<record:hash:Posts id:0(nonexistent)>>,
         
     | 
| 
      
 271 
     | 
    
         
            +
                1:<get_value(), modify:2, value:#<column:var_size Posts.body range:Text type:scalar compress:none>>,
         
     | 
| 
      
 272 
     | 
    
         
            +
                2:<push(), modify:0, value:"drive">,
         
     | 
| 
      
 273 
     | 
    
         
            +
                3:<match(), modify:0, value:(NULL)>
         
     | 
| 
      
 274 
     | 
    
         
            +
              }
         
     | 
| 
      
 275 
     | 
    
         
            +
            >>
         
     | 
| 
      
 276 
     | 
    
         
            +
                INSPECTED
         
     | 
| 
       239 
277 
     | 
    
         
             
              end
         
     | 
| 
       240 
278 
     | 
    
         | 
| 
       241 
279 
     | 
    
         
             
              def test_set_time
         
     | 
| 
         @@ -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/", "http://dic.nicovideo.jp/"],
         
     | 
| 
       573 
573 
     | 
    
         
             
                               result.collect {|record| record["uri"]})
         
     | 
| 
       574 
574 
     | 
    
         
             
                end
         
     | 
| 
       575 
575 
     | 
    
         
             
              end
         
     |